diff options
author | Emily Shaffer <emilyshaffer@google.com> | 2021-12-22 04:59:39 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2022-01-07 15:19:35 -0800 |
commit | 0c8ac06b53cf048dc5aae6f31123e93b62af7cfc (patch) | |
tree | e01b6df6d51b48a792be416740e2f7a5f9616450 /t/t4121-apply-diffs.sh | |
parent | send-email: use 'git hook run' for 'sendemail-validate' (diff) | |
download | tgif-0c8ac06b53cf048dc5aae6f31123e93b62af7cfc.tar.xz |
git-p4: use 'git hook' to run hooks
Instead of duplicating the behavior of run-command.h:run_hook_le() in
Python, we can directly call 'git hook run'. We emulate the existence
check with the --ignore-missing flag.
We're dropping the "verbose" handling added in 9f59ca4d6af (git-p4:
create new function run_git_hook, 2020-02-11), those who want
diagnostic output about how hooks are run are now able to get that via
e.g. the trace2 facility and GIT_TRACE=1.
Signed-off-by: Emily Shaffer <emilyshaffer@google.com>
Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com>
Acked-by: Emily Shaffer <emilyshaffer@google.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t4121-apply-diffs.sh')
0 files changed, 0 insertions, 0 deletions