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

From: Adrian Ratiu <[email-masked]>
Date: Wed, 14 Jan 2026 01:55:08 +0200

On Tue, 13 Jan 2026, "Kristoffer Haugsbakk" <[email-masked]> wrote:
>   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/[email-masked]/T/#ma48af377cb4a8f3932d2502e9662a0847ee6bf9b

Many thanks,
Adrian