Commits

Anonymous committed 2f0e7cb

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>

Comments (0)

Files changed (1)

git-send-email.perl

 }
 
 sub split_addrs {
-	return parse_line('\s*,\s*', 1, @_);
+	return quotewords('\s*,\s*', 1, @_);
 }
 
 my %aliases;