summaryrefslogtreecommitdiff
path: root/commit.c
diff options
context:
space:
mode:
authorÆvar Arnfjörð Bjarmason <avarab@gmail.com>2021-12-22 04:59:37 +0100
committerJunio C Hamano <gitster@pobox.com>2022-01-07 15:19:34 -0800
commit0d3979c175054187a4bd94dbbdc4f99300f7fc04 (patch)
tree9e89dd54a2e0b2776d504de9ca9d9fb6a66c450d /commit.c
parent1a3017d908824ab42ca7a5af7073f4cdc5c88fbf (diff)
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 'commit.c')
0 files changed, 0 insertions, 0 deletions