Re: [BUG] push: pre-push hook that waits for stdin is slow
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Jan 13, 2026, 20:44 UTC
- Message-ID
- <xmqq8qe1i6o7.fsf@gitster.g>
- In-Reply-To
- <249f08d1-4457-4a41-8dbe-9725c0c392de@app.fastmail.com>
"Kristoffer Haugsbakk" <kristofferhaugsbakk@fastmail.com> writes:
Show 10 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): > ... > I bisected using `timeout 3 git push ...` with a local remote to > 857f047e (hook: allow overriding the ungroup option, 2025-12-26).
A shot in the dark, but it smells somewhat related to what was discussed in this thread?
https://lore.kernel.org/git/87h5spimno.fsf@collabora.com/