diff options
author | Jonathan Tan <jonathantanmy@google.com> | 2017-05-12 15:38:26 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2017-05-16 11:13:00 +0900 |
commit | 6489660b4bba7456fac0d0a41f5d6295c5900c5f (patch) | |
tree | c8be3c5dbe895d9584dcab3fd704e7a8f2e84c97 /Documentation/githooks.txt | |
parent | b06d3643105c8758ed019125a4399cb7efdcce2c (diff) | |
download | git-6489660b4bba7456fac0d0a41f5d6295c5900c5f.tar.gz |
send-email: support validate hook
Currently, send-email has support for rudimentary e-mail validation.
Allow the user to add support for more validation by providing a
sendemail-validate hook.
Helped-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com>
Signed-off-by: Jonathan Tan <jonathantanmy@google.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation/githooks.txt')
-rw-r--r-- | Documentation/githooks.txt | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/Documentation/githooks.txt b/Documentation/githooks.txt index 706091a569..b2514f4d44 100644 --- a/Documentation/githooks.txt +++ b/Documentation/githooks.txt @@ -447,6 +447,14 @@ rebase:: The commits are guaranteed to be listed in the order that they were processed by rebase. +sendemail-validate +~~~~~~~~~~~~~~~~~~ + +This hook is invoked by 'git send-email'. It takes a single parameter, +the name of the file that holds the e-mail to be sent. Exiting with a +non-zero status causes 'git send-email' to abort before sending any +e-mails. + GIT --- |