Re: [PATCH v2 5/8] hook: allow disabling config hooks
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Feb 20, 2026, 18:45 UTC
- Message-ID
- <xmqq7bs7xnhr.fsf@gitster.g>
- In-Reply-To
- <aZiqkB61YXCAKEWE@pks.im>
Patrick Steinhardt <ps@pks.im> writes:
> Note that the "--disabled" flag was just a way to explain why I think > it's useful to track the disabled state explicitly. I didn't mean to say > that it needs to be added :)
Yup.
If "hook list" (possibly with --verbose but there may not be any need for multiple verbosity levels) shows which ones are available but which ones are disabled, that would also be useful. It would be harder to arrange with the approach to filter early.
Thanks.