diff options
author | Emily Shaffer <emilyshaffer@google.com> | 2021-09-26 21:03:27 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2021-09-27 09:44:54 -0700 |
commit | 330155ed8af3b2e050ac74554993ba68d303e8c3 (patch) | |
tree | d3223aec6d21a36bfddf3667f3ae6b3146fc5ba3 /builtin/branch.c | |
parent | hook.[ch]: move find_hook() from run-command.c to hook.c (diff) | |
download | tgif-330155ed8af3b2e050ac74554993ba68d303e8c3.tar.xz |
hook.c: add a hook_exists() wrapper and use it in bugreport.c
Add a boolean version of the find_hook() function for those callers
who are only interested in checking whether the hook exists, not what
the path to it is.
Signed-off-by: Emily Shaffer <emilyshaffer@google.com>
Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin/branch.c')
0 files changed, 0 insertions, 0 deletions