From: Junio C Hamano Date: Fri, 23 Oct 2026 17:53:51 GMT Subject: Re: [PATCH v2 0/2] Two hook configuration changes Message-ID: In-Reply-To: "Thomas Bachem via GitGitGadget" writes: > Two small changes to hook configuration. With the first, > hook.pre-commit.enabled=false also stops the pre-commit hook in the hooks > directory. With the second, hook.*.enabled and hook.*.parallel can be given > without a value, which means true, as for any other boolean. > > Changes since v1: > > * The documentation of hook..enabled now says that it covers > configured hooks and the hook in the hooks directory alike. The subject > and message of patch 1 present this as a change in behavior rather than a > fix (Adrian, Junio). > > * The test that hook..enabled=false leaves the hooks of other events > alone now has a hookdir hook too. > > Thomas Bachem (2): > hook: make hook..enabled cover the hookdir hook > hook: accept .enabled and .parallel given without a value Thanks, the range-diff looks good. Will queue.