diff options
author | Ævar Arnfjörð Bjarmason <avarab@gmail.com> | 2021-12-22 04:59:37 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2022-01-07 15:19:34 -0800 |
commit | 0d3979c175054187a4bd94dbbdc4f99300f7fc04 (patch) | |
tree | 9e89dd54a2e0b2776d504de9ca9d9fb6a66c450d /t/t5605-clone-local.sh | |
parent | hooks: convert worktree 'post-checkout' hook to hook library (diff) | |
download | tgif-0d3979c175054187a4bd94dbbdc4f99300f7fc04.tar.xz |
git hook run: add an --ignore-missing flag
For certain one-shot hooks we'd like to optimistically run them, and
not complain if they don't exist.
This was already supported by the underlying hook.c library, but had
not been exposed via "git hook run". The command version of this will
be used by send-email in a subsequent commit.
Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com>
Reviewed-by: Emily Shaffer <emilyshaffer@google.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t5605-clone-local.sh')
0 files changed, 0 insertions, 0 deletions