Re: [PATCH v2] send-email: support validate hook

2017-05-15 Thread Jonathan Tan
On 05/14/2017 06:55 PM, Junio C Hamano wrote: Jonathan Tan writes: diff --git a/Documentation/githooks.txt b/Documentation/githooks.txt index 706091a56..b2514f4d4 100644 --- a/Documentation/githooks.txt +++ b/Documentation/githooks.txt @@ -447,6 +447,14 @@ rebase:: The commits are guaranteed

Re: [PATCH v2] send-email: support validate hook

2017-05-14 Thread Junio C Hamano
Jonathan Tan writes: > diff --git a/Documentation/githooks.txt b/Documentation/githooks.txt > index 706091a56..b2514f4d4 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 w

[PATCH v2] send-email: support validate hook

2017-05-12 Thread Jonathan Tan
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 Signed-off-by: Jonathan Tan --- Change from v1: followed Ævar's suggestions, and also moved the new f