Re: [PATCH v3 00/12][next] Specify hooks via configs
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Mar 2, 2026, 16:48 UTC
- Message-ID
- <xmqqy0ka2n53.fsf@gitster.g>
- In-Reply-To
- <20260301184500.1488433-1-adrian.ratiu@collabora.com>
Adrian Ratiu <adrian.ratiu@collabora.com> writes:
Show 20 quoted lines
> Hello everyone, > > v3 addresses all feedback received in v2 (details below, including range-diff). > > This series adds a new feature: the ability to specify commands to run > for hook events via config entries (including shell commands). > > So instead of dropping a shell script or a custom program in .git/hooks > you can now tell git via config files to run a program or shell script > (can be specified directly in the config) when you run hook "foo". > > This also means you can setup global hooks to run in multiple repos via > global configs and there's an option to disable them if necessary. > > For simplicity, because this series is becoming rather big, hooks are > still executed sequentially (.jobs == 1). Parallel execution is added > in another follow-up patch series. > > This is based on the latest next branch because it depends on some > commits which haven't yet landed in master.
Please don't depend a series on 'next'. That will make your topic taken hostage by _every_ topic there.
Besides, the ar/config-hooks topic has been in 'next' for the last few days already, and it is time to go incremental updates.
Thanks.