diff options
author | Junio C Hamano <gitster@pobox.com> | 2008-12-21 01:57:59 -0800 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2008-12-21 01:57:59 -0800 |
commit | 2f0e7cbbb0703d510a761e2892727e84b3cdcbec (patch) | |
tree | 79c275d34039e2694a0a9c0d402a1e198839710b /git-send-email.perl | |
parent | 0693f9ddad3d9af3d3424087557bbddce480ce3f (diff) | |
download | git-2f0e7cbbb0703d510a761e2892727e84b3cdcbec.tar.gz |
send-email: futureproof split_addrs() sub
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>
Diffstat (limited to 'git-send-email.perl')
-rwxr-xr-x | git-send-email.perl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/git-send-email.perl b/git-send-email.perl index 61144011d0..77ca8fe880 100755 --- 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; |