Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
send-email: only allow one address per body tag
[gitweb.git]
/
git-send-email.perl
diff --git
a/git-send-email.perl
b/git-send-email.perl
index da81be40cb7f9af1a960be2c22f8e75c9d16822e..2bc656ee7a850e9f47de7a8af2d3ae980755c53b 100755
(executable)
--- a/
git-send-email.perl
+++ b/
git-send-email.perl
@@
-1545,7
+1545,7
@@
sub send_message {
# Now parse the message body
while(<$fh>) {
$message .= $_;
- if (/^(Signed-off-by|Cc): (
.*)$
/i) {
+ if (/^(Signed-off-by|Cc): (
[^>]*>?)
/i) {
chomp;
my ($what, $c) = ($1, $2);
chomp $c;