{"thread":{"id":"13848","subject":"[PATCH] git-send-email: allow whitespace in addressee list","startedAt":"2008-06-07T13:34:36Z","lastAt":"2008-06-07T13:34:36Z","messageCount":1,"participants":["Pieter de Bie"],"isPatch":true,"patchVersion":1,"patchTotal":null},"messages":[{"id":"79043","messageId":"1212845676-80100-1-git-send-email-pdebie@ai.rug.nl","threadId":"13848","inReplyTo":null,"subject":"[PATCH] git-send-email: allow whitespace in addressee list","fromName":"Pieter de Bie","fromEmail":"pdebie@ai.rug.nl","sentAt":"2008-06-07T13:34:36Z","receivedAt":"2008-06-07T13:34:36Z","isPatch":true,"sender":{"key":"pdebie@ai.rug.nl","avatar":null},"body":"When interactively supplying addresses to send an email to with send-email,\nwhitespace after the separation comma (as in 'list, jc') wasn't ignored. This\nmeant that resolving of the alias ' jc' would fail, sending an email only to\nlist. With this patch, the optional trailing whitespace is ignored.\n\nSigned-off-by: Pieter de Bie <pdebie@ai.rug.nl>\n---\n\nThis has been bothering me for a while now :)\n\n git-send-email.perl |    2 +-\n 1 files changed, 1 insertions(+), 1 deletions(-)\n\ndiff --git a/git-send-email.perl b/git-send-email.perl\nindex a598fdc..e53350a 100755\n--- a/git-send-email.perl\n+++ b/git-send-email.perl\n@@ -441,7 +441,7 @@ if (!@to) {\n \t}\n \n \tmy $to = $_;\n-\tpush @to, split /,/, $to;\n+\tpush @to, split /,\\s*/, $to;\n \t$prompting++;\n }\n \n-- \n1.5.6.rc0.165.ge08d6b.dirty\n"}]}