projects
/
git.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0693f9d
)
send-email: futureproof split_addrs() sub
author
Junio C Hamano
<gitster@pobox.com>
Sun, 21 Dec 2008 09:57:59 +0000
(
01:57
-0800)
committer
Junio C Hamano
<gitster@pobox.com>
Sun, 21 Dec 2008 09:57:59 +0000
(
01:57
-0800)
Matt Kraai points out that calling parse_line() assuming that the caller
ever passes only one argument is a bug waiting to happen, and he is
right.
Signed-off-by: Junio C Hamano <gitster@pobox.com>
git-send-email.perl
patch
|
blob
|
history
diff --git
a/git-send-email.perl
b/git-send-email.perl
index 61144011d0e4ab2c56ee0607eb7b80fbe3634e10..77ca8fe8803f102b877c4d63ed1ffa41920cbd54 100755
(executable)
--- a/
git-send-email.perl
+++ b/
git-send-email.perl
@@
-361,7
+361,7
@@
foreach my $entry (@bcclist) {
}
sub split_addrs {
- return
parse_line
('\s*,\s*', 1, @_);
+ return
quotewords
('\s*,\s*', 1, @_);
}
my %aliases;