aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/git-send-email.txt
diff options
context:
space:
mode:
authorJonathan Tan <jonathantanmy@google.com>2017-05-12 15:38:26 -0700
committerJunio C Hamano <gitster@pobox.com>2017-05-16 11:13:00 +0900
commit6489660b4bba7456fac0d0a41f5d6295c5900c5f (patch)
treec8be3c5dbe895d9584dcab3fd704e7a8f2e84c97 /Documentation/git-send-email.txt
parentb06d3643105c8758ed019125a4399cb7efdcce2c (diff)
downloadgit-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/git-send-email.txt')
-rw-r--r--Documentation/git-send-email.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/Documentation/git-send-email.txt b/Documentation/git-send-email.txt
index 9d66166f69..bb23b02caf 100644
--- a/Documentation/git-send-email.txt
+++ b/Documentation/git-send-email.txt
@@ -377,6 +377,7 @@ have been specified, in which case default to 'compose'.
Currently, validation means the following:
+
--
+ * Invoke the sendemail-validate hook if present (see linkgit:githooks[5]).
* Warn of patches that contain lines longer than 998 characters; this
is due to SMTP limits as described by http://www.ietf.org/rfc/rfc2821.txt.
--