From: Patrick Steinhardt <ps@pks.im>
To: Junio C Hamano <gitster@pobox.com>
Cc: Karthik Nayak <karthik.188@gmail.com>,
git@vger.kernel.org, jltobler@gmail.com,
kristofferhaugsbakk@fastmail.com,
Phillip Wood <phillip.wood@dunelm.org.uk>
Subject: Re: [PATCH v3 0/3] hook: introduce the report hook for git-receive-pack(1)
Date: Mon, 24 Aug 2026 19:00:37 +0200 [thread overview]
Message-ID: <aox4tYaRQrCyZXnS@pks.im> (raw)
In-Reply-To: <xmqqo6erqzon.fsf@gitster.g>
On Mon, Aug 24, 2026 at 08:57:12AM -0700, Junio C Hamano wrote:
> Junio C Hamano <gitster@pobox.com> writes:
>
> > Karthik Nayak <karthik.188@gmail.com> writes:
> >
> >> ---
> >> Changes in v3:
> >> - Move out addition of proc-receive hook doc to 'git-receive-pack.adoc'
> >> into a new commit.
> >> - Add a new commit to move out the response generation in receive-pack
> >> to a new function.
> >> - Instead of die-ing on non-zero exit code, we modify each reference to
> >> indicate that the hook failed.
> >> - Instead of correctly listing out the protocol, link to
> >> linkgit:gitprotocol-pack[5], as the protocol also differs between v1
> >> and v2.
> >> - Link to v2: https://patch.msgid.link/20260821-758-introduce-hook-v2-1-e90e2f7ac2cf@gmail.com
> >
> > This has some interaction with Justin's pluggable writes series.
> > Please help sanity check the conflict resolution I did near the tip
> > of 'seen' when I push the integration results out later today.
>
> One more thing. 'report' is far too generic a name for this. There
> are other features that plausibly would want to create their own
> reports. It is understandable that one can be blinded by the
> thought that their invention is more important than everything else,
> but please resist such temptation.
That's probably on me, as I originally suggested "pre-report" when the
design was still in an earlier stage. But I agree with you -- both
"pre-report" and "report" are awful names. We have others like "update",
which sound way more generic than they really are, but that's not a good
reason to repeat that sin.
A better name might be "receive-report" or something like that.
Patrick
prev parent reply other threads:[~2026-08-24 17:00 UTC|newest]
Thread overview: 25+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-08-18 7:55 [PATCH] hook: introduce the report hook for git-receive-pack(1) Karthik Nayak
2026-08-18 20:54 ` Junio C Hamano
2026-08-19 7:03 ` Kristoffer Haugsbakk
2026-08-19 12:11 ` Karthik Nayak
2026-08-19 14:47 ` Kristoffer Haugsbakk
2026-08-19 7:39 ` Patrick Steinhardt
2026-08-19 13:13 ` Karthik Nayak
2026-08-19 13:20 ` Patrick Steinhardt
2026-08-19 13:24 ` Karthik Nayak
2026-08-20 9:50 ` Phillip Wood
2026-08-20 15:43 ` Junio C Hamano
2026-08-21 12:51 ` Karthik Nayak
2026-08-21 13:34 ` [PATCH v2] " Karthik Nayak
2026-08-21 13:49 ` Patrick Steinhardt
2026-08-21 16:08 ` Karthik Nayak
2026-08-24 5:32 ` Patrick Steinhardt
2026-08-24 8:14 ` Karthik Nayak
2026-08-21 16:55 ` Junio C Hamano
2026-08-24 10:20 ` [PATCH v3 0/3] " Karthik Nayak
2026-08-24 10:20 ` [PATCH v3 1/3] doc: add proc-receive hook info in 'git-receive-pack.adoc' Karthik Nayak
2026-08-24 10:21 ` [PATCH v3 2/3] receive-pack: move message generation to separate function Karthik Nayak
2026-08-24 10:21 ` [PATCH v3 3/3] hook: introduce the report hook for git-receive-pack(1) Karthik Nayak
2026-08-24 15:35 ` [PATCH v3 0/3] " Junio C Hamano
2026-08-24 15:57 ` Junio C Hamano
2026-08-24 17:00 ` Patrick Steinhardt [this message]
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=aox4tYaRQrCyZXnS@pks.im \
--to=ps@pks.im \
--cc=git@vger.kernel.org \
--cc=gitster@pobox.com \
--cc=jltobler@gmail.com \
--cc=karthik.188@gmail.com \
--cc=kristofferhaugsbakk@fastmail.com \
--cc=phillip.wood@dunelm.org.uk \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.