summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 9f7820a)
raw | patch | inline | side by side (parent: 9f7820a)
author | Pieter de Bie <pdebie@ai.rug.nl> | |
Sat, 7 Jun 2008 13:34:36 +0000 (15:34 +0200) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Sun, 8 Jun 2008 20:46:38 +0000 (13:46 -0700) |
When interactively supplying addresses to send an email to with
send-email, whitespace after the separation comma (as in 'list, jc')
wasn't ignored. This meant that resolving of the alias ' jc' would
fail, sending an email only to list. With this patch, the optional
trailing whitespace is ignored.
Signed-off-by: Pieter de Bie <pdebie@ai.rug.nl>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
send-email, whitespace after the separation comma (as in 'list, jc')
wasn't ignored. This meant that resolving of the alias ' jc' would
fail, sending an email only to list. With this patch, the optional
trailing whitespace is ignored.
Signed-off-by: Pieter de Bie <pdebie@ai.rug.nl>
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 ec69c237f9a5dede0227d986be703aaddf5c4acf..0b04ba32f0399d338be587ac2d9ad4620705c9a1 100755 (executable)
--- a/git-send-email.perl
+++ b/git-send-email.perl
}
my $to = $_;
- push @to, split /,/, $to;
+ push @to, split /,\s*/, $to;
$prompting++;
}