]> git.99rst.org Git - git.git/commit
hook: allow event = "" to overwrite previous values
authorAdrian Ratiu <redacted>
Wed, 18 Feb 2026 22:23:50 +0000 (00:23 +0200)
committerJunio C Hamano <redacted>
Thu, 19 Feb 2026 21:23:41 +0000 (13:23 -0800)
commitd084fa2a915784d65257fbaff43f00b3ea5c8a44
treea21cc77ed137445de0ff142b3c609a1585f4c643
parent1ecce722cdb9c42dd4c69e45e02cb850cd558ef2
hook: allow event = "" to overwrite previous values

Add the ability for empty events to clear previously set multivalue
variables, so the newly added "hook.*.event" behave like the other
multivalued keys.

Suggested-by: Patrick Steinhardt <redacted>
Signed-off-by: Adrian Ratiu <redacted>
Signed-off-by: Junio C Hamano <redacted>
Documentation/config/hook.adoc
hook.c
t/t1800-hook.sh
git clone https://git.99rst.org/PROJECT