Re: What's cooking in git.git (Feb 2026, #11)
- From
Adrian Ratiu <adrian.ratiu@collabora.com>
- Date
- Mar 2, 2026, 13:59 UTC
- Message-ID
- <877bru72n9.fsf@collabora.com>
- In-Reply-To
- <xmqq8qcdof3f.fsf@gitster.g>
On Fri, 27 Feb 2026, Junio C Hamano <gitster@pobox.com> wrote: <snip>
Show 19 quoted lines
> * ar/config-hooks (2026-02-18) 9 commits > (merged to 'next' on 2026-02-27 at 6a04cca28e) > + hook: add -z option to "git hook list" > + hook: allow out-of-repo 'git hook' invocations > + hook: allow event = "" to overwrite previous values > + hook: allow disabling config hooks > + hook: include hooks from the config > + hook: add "git hook list" command > + hook: run a list of hooks to prepare for multihook support > + hook: add internal state alloc/free callbacks > + Merge branch 'ar/run-command-hook-take-2' into ar/config-hooks > (this branch is used by ar/parallel-hooks; uses ar/run-command-hook-take-2.) > > Allow hook commands to be defined (possibly centrally) in the > configuration files, and run multiple of them for the same hook > event. > > Will merge to 'master'. > source: <20260218222352.55393-1-adrian.ratiu@collabora.com>
Please do not merge 'ar/config-hook' (v2) yet because it still needs some work. Can you please remove it from next [1] ?
I just sent v3 yesterday addressing all feedback from you and Patrick. :)
This might be orthogonal to the update regression Patrick reported, I will look into that separately.
Many thanks, Adrian
1: commit 6a04cca28e210f0c51cfefcb52475c7ede6e99fb Merge: d6ebc97cb1 4b12cd3ae3 Author: Junio C Hamano <gitster@pobox.com> AuthorDate: Fri Feb 27 15:16:30 2026 -0800 Commit: Junio C Hamano <gitster@pobox.com> CommitDate: Fri Feb 27 15:16:30 2026 -0800
Merge branch 'ar/config-hooks' into next
Allow hook commands to be defined (possibly centrally) in the
configuration files, and run multiple of them for the same hook
event.
* ar/config-hooks:
hook: add -z option to "git hook list"
hook: allow out-of-repo 'git hook' invocations
hook: allow event = "" to overwrite previous values
hook: allow disabling config hooks
hook: include hooks from the config
hook: add "git hook list" command
hook: run a list of hooks to prepare for multihook support
hook: add internal state alloc/free callbacks