public inbox for git@vger.kernel.org
 help / color / mirror / Atom feed
From: Junio C Hamano <gitster@pobox.com>
To: "Kristoffer Haugsbakk" <kristofferhaugsbakk@fastmail.com>
Cc: git@vger.kernel.org,  "Adrian Ratiu" <adrian.ratiu@collabora.com>
Subject: Re: [BUG] push: pre-push hook that waits for stdin is slow
Date: Tue, 13 Jan 2026 12:44:40 -0800	[thread overview]
Message-ID: <xmqq8qe1i6o7.fsf@gitster.g> (raw)
In-Reply-To: <249f08d1-4457-4a41-8dbe-9725c0c392de@app.fastmail.com> (Kristoffer Haugsbakk's message of "Tue, 13 Jan 2026 21:26:45 +0100")

"Kristoffer Haugsbakk" <kristofferhaugsbakk@fastmail.com> writes:

>   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/

  reply	other threads:[~2026-01-13 20:44 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-01-13 20:26 [BUG] push: pre-push hook that waits for stdin is slow Kristoffer Haugsbakk
2026-01-13 20:44 ` Junio C Hamano [this message]
2026-01-13 21:10   ` Adrian Ratiu
2026-01-13 23:55 ` Adrian Ratiu

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=xmqq8qe1i6o7.fsf@gitster.g \
    --to=gitster@pobox.com \
    --cc=adrian.ratiu@collabora.com \
    --cc=git@vger.kernel.org \
    --cc=kristofferhaugsbakk@fastmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox