diff options
| author | Adrian Ratiu <adrian.ratiu@collabora.com> | 2026-03-25 21:54:56 +0200 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2026-03-25 14:00:46 -0700 |
| commit | 4d10f4a9527e664e001b9747b1daff6681b3f807 (patch) | |
| tree | 912bc644e7124d896eaae7bcd8c101dfbac1822f /hook.h | |
| parent | 8f7db6f8b585a3eef4ba595efd2d098f9abf3606 (diff) | |
| download | git-4d10f4a9527e664e001b9747b1daff6681b3f807.tar.xz | |
hook: detect & emit two more bugs
Trigger a bug when an unknown hook type is encountered while
setting up hook execution.
Also issue a bug if a configured hook is enabled without a cmd.
Mostly useful for defensive coding.
Suggested-by: Patrick Steinhardt <ps@pks.im>
Signed-off-by: Adrian Ratiu <adrian.ratiu@collabora.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'hook.h')
0 files changed, 0 insertions, 0 deletions
