Git development
 help / color / mirror / Atom feed
* bug report: pre-push hook
@ 2022-03-24 16:45 Honza Prokeš
  2022-03-24 18:30 ` Emily Shaffer
  0 siblings, 1 reply; 4+ messages in thread
From: Honza Prokeš @ 2022-03-24 16:45 UTC (permalink / raw)
  To: git

Thank you for filling out a Git bug report!
Please answer the following questions to help us understand your issue.

What did you do before the bug happened? (Steps to reproduce your issue)
I did setup pre-push hook to run unit tests.

What did you expect to happen? (Expected behavior)
Pre-push executes tests, I can see output, and if tests fail, push
does not happen.

What happened instead? (Actual behavior)
Tests seem to execute on the background, but I do not see output and
push happens when tests fail.

What's different between what you expected and what actually happened?
As above, so:
Tests seem to execute on the background, but I do not see output and
push happens when tests fail.

Anything else you want to add:
When I run pre-push script directly from terminal, it executes tests,
I see output and if I ask for last command exit-code, it is non-zero
if tests fail, so my script is functional. It was working until
recently, noticed today, but this behavior happened at least two days
ago. It was working well in past. My fella has the same issue with
similar script on up-to-date Arch Linux.

Please review the rest of the bug report below.
You can delete any lines you don't wish to share.


[System Info]
git version:
git version 2.35.1
cpu: x86_64
no commit associated with this build
sizeof-long: 8
sizeof-size_t: 8
shell-path: /bin/sh
uname: Linux 5.10.105-1-MANJARO #1 SMP PREEMPT Fri Mar 11 14:12:33 UTC
2022 x86_64
compiler info: gnuc: 11.1
libc info: glibc: 2.35
$SHELL (typically, interactive shell): /usr/bin/zsh


[Enabled Hooks]
pre-push

S pozdravem / Best regards

Jan Prokeš

Full stack programátor / Web developer

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2022-03-24 22:48 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-03-24 16:45 bug report: pre-push hook Honza Prokeš
2022-03-24 18:30 ` Emily Shaffer
2022-03-24 21:29   ` Taylor Blau
2022-03-24 22:47     ` Emily Shaffer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox