send-email: support validate hook
commit6489660b4bba7456fac0d0a41f5d6295c5900c5f
authorJonathan Tan <jonathantanmy@google.com>
Fri, 12 May 2017 22:38:26 +0000 (12 15:38 -0700)
committerJunio C Hamano <gitster@pobox.com>
Tue, 16 May 2017 02:13:00 +0000 (16 11:13 +0900)
treec8be3c5dbe895d9584dcab3fd704e7a8f2e84c97
parentb06d3643105c8758ed019125a4399cb7efdcce2c
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>
Documentation/git-send-email.txt
Documentation/githooks.txt
git-send-email.perl
t/t9001-send-email.sh