diff options
author | Emily Shaffer <emilyshaffer@google.com> | 2021-12-22 04:59:38 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2022-01-07 15:19:35 -0800 |
commit | a75553045467d81f504d55379c773222f227736b (patch) | |
tree | aabd32c9a7dd5b9f16d76e8d35248ee1b47cf92a /Documentation/howto/keep-canonical-history-correct.txt | |
parent | git hook run: add an --ignore-missing flag (diff) | |
download | tgif-a75553045467d81f504d55379c773222f227736b.tar.xz |
send-email: use 'git hook run' for 'sendemail-validate'
Change the "sendmail-validate" hook to be run via the "git hook run"
wrapper instead of via a direct invocation.
This is the smallest possibly change to get "send-email" using "git
hook run". We still check the hook itself with "-x", and set a
"GIT_DIR" variable, both of which are asserted by our tests. We'll
need to get rid of this special behavior if we start running N hooks,
but for now let's be as close to bug-for-bug compatible as possible.
Signed-off-by: Emily Shaffer <emilyshaffer@google.com>
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 'Documentation/howto/keep-canonical-history-correct.txt')
0 files changed, 0 insertions, 0 deletions