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

Re: [BUG] push: pre-push hook that waits for stdin is slow

From
Adrian Ratiu <adrian.ratiu@collabora.com>
Date
Jan 13, 2026, 23:55 UTC
Message-ID
<87ecntqd9f.fsf@gentoo.mail-host-address-is-not-set>
In-Reply-To
<249f08d1-4457-4a41-8dbe-9725c0c392de@app.fastmail.com>
On Tue, 13 Jan 2026, "Kristoffer Haugsbakk" <kristofferhaugsbakk@fastmail.com> wrote:
Show 7 quoted lines
>   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)
>
> Used `git push` with a pre-push hook which included a loop over standard
> input (stdin):
Hi Kristoffer,

Would you be able to test v2 of this patch, to confirm if it fixes your reported issue?

https://lore.kernel.org/git/87jyxlioup.fsf@collabora.com/T/#ma48af377cb4a8f3932d2502e9662a0847ee6bf9b

Many thanks, Adrian

Previous: Adrian Ratiu
Message 4 of 4 in “[BUG] push: pre-push hook that waits for stdin is slow”
  1. Kristoffer HaugsbakkJan 13, 2026
  2. Junio C HamanoJan 13, 2026
  3. Adrian RatiuJan 13, 2026
  4. Adrian RatiuJan 13, 2026

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.