From: Junio C Hamano <gitster@pobox.com>
To: "Thomas Bachem via GitGitGadget" <gitgitgadget@gmail.com>
Cc: git@vger.kernel.org, Adrian Ratiu <adrian.ratiu@collabora.com>,
Patrick Steinhardt <ps@pks.im>,
Emily Shaffer <nasamuffin@google.com>,
Thomas Bachem <mail@thomasbachem.com>
Subject: Re: [PATCH v2 0/2] Two hook configuration changes
Date: Fri, 23 Oct 2026 10:53:51 -0700 [thread overview]
Message-ID: <xmqqh5ic7174.fsf@gitster.g> (raw)
In-Reply-To: <pull.2272.v2.git.1792761542.gitgitgadget@gmail.com> (Thomas Bachem via GitGitGadget's message of "Fri, 23 Oct 2026 13:19:00 +0000")
"Thomas Bachem via GitGitGadget" <gitgitgadget@gmail.com> 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.<event>.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.<event>.enabled=false leaves the hooks of other events
> alone now has a hookdir hook too.
>
> Thomas Bachem (2):
> hook: make hook.<event>.enabled cover the hookdir hook
> hook: accept .enabled and .parallel given without a value
Thanks, the range-diff looks good. Will queue.
prev parent reply other threads:[~2026-10-23 17:53 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-10-20 18:19 [PATCH 0/2] Fix two hook configuration bugs Thomas Bachem via GitGitGadget
2026-10-20 18:19 ` [PATCH 1/2] hook: honor hook.<event>.enabled for the hookdir hook Thomas Bachem via GitGitGadget
2026-10-20 18:46 ` Junio C Hamano
2026-10-20 20:59 ` Adrian Ratiu
2026-10-21 17:42 ` Junio C Hamano
2026-10-22 13:40 ` Adrian Ratiu
2026-10-20 18:19 ` [PATCH 2/2] hook: accept .enabled and .parallel given without a value Thomas Bachem via GitGitGadget
2026-10-23 13:19 ` [PATCH v2 0/2] Two hook configuration changes Thomas Bachem via GitGitGadget
2026-10-23 13:19 ` [PATCH v2 1/2] hook: make hook.<event>.enabled cover the hookdir hook Thomas Bachem via GitGitGadget
2026-10-23 13:19 ` [PATCH v2 2/2] hook: accept .enabled and .parallel given without a value Thomas Bachem via GitGitGadget
2026-10-23 17:53 ` Junio C Hamano [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=xmqqh5ic7174.fsf@gitster.g \
--to=gitster@pobox.com \
--cc=adrian.ratiu@collabora.com \
--cc=git@vger.kernel.org \
--cc=gitgitgadget@gmail.com \
--cc=mail@thomasbachem.com \
--cc=nasamuffin@google.com \
--cc=ps@pks.im \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox