Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
Merge branch 'master' of git://people.freedesktop.org/~hausmann/git-p4
[gitweb.git]
/
git-send-email.perl
diff --git
a/git-send-email.perl
b/git-send-email.perl
index 89f7c36ee527e84a663eb6c6ea51ae9614e0ead9..7552caca4bbbb38b161cfb47f94d4577627ccbb3 100755
(executable)
--- a/
git-send-email.perl
+++ b/
git-send-email.perl
@@
-410,6
+410,7
@@
sub extract_valid_address {
return $address if ($address =~ /^($local_part_regexp)$/);
if ($have_email_valid) {
+ $address =~ s/^\s*<(.*)>\s*$/$1/;
return scalar Email::Valid->address($address);
} else {
# less robust/correct than the monster regexp in Email::Valid,