git/list[1] front-page[2] threads[3] people[4] search[5] about
 

bug report: pre-push hook

From
HPHonza Prokeš <proke.j@gmail.com>
Date
Mar 24, 2022, 16:45 UTC
Message-ID
<CA+ZGDOUKrNRdf-7+SBoVhPkAmyHEtt==AJ=jBDWGkOUcz=n4BA@mail.gmail.com>

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
Next: Emily Shaffer
Message 1 of 4 in “bug report: pre-push hook”
  1. Honza ProkešMar 24, 2022
  2. Emily ShafferMar 24, 2022
  3. Taylor BlauMar 24, 2022
  4. Emily ShafferMar 24, 2022

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.