Re: [PATCH v2] send-email: only allow one address per body tag

2017-02-26 Thread Matthieu Moy
Junio C Hamano writes: > Matthieu Moy writes: > >> Johan Hovold writes: >> >>> --- a/git-send-email.perl >>> +++ b/git-send-email.perl >>> @@ -1563,7 +1563,7 @@ foreach my $t (@files) { >>> # Now parse the message body >>>

Re: [PATCH v2] send-email: only allow one address per body tag

2017-02-23 Thread Junio C Hamano
Matthieu Moy writes: > Johan Hovold writes: > >> --- a/git-send-email.perl >> +++ b/git-send-email.perl >> @@ -1563,7 +1563,7 @@ foreach my $t (@files) { >> # Now parse the message body >> while(<$fh>) { >> $message .= $_;

Re: [PATCH v2] send-email: only allow one address per body tag

2017-02-20 Thread Matthieu Moy
Johan Hovold writes: > --- a/git-send-email.perl > +++ b/git-send-email.perl > @@ -1563,7 +1563,7 @@ foreach my $t (@files) { > # Now parse the message body > while(<$fh>) { > $message .= $_; > - if (/^(Signed-off-by|Cc): (.*)$/i) { > +

[PATCH v2] send-email: only allow one address per body tag

2017-02-20 Thread Johan Hovold
Adding comments after a tag in the body is a common practise (e.g. in the Linux kernel) and git-send-email has been supporting this for years by removing any trailing cruft after the address. After some recent changes, any trailing comment is now instead appended to the recipient name (with some