[PATCH/RFC] send-email: allow multiple emails using --cc --to and --bcc
From: Remi LESPINET <hidden>
Date: 2016-06-15 23:05:03
Junio C Hamano [off-list ref] writes:
Remi Lespinet [off-list ref] writes:
Accept a list of emails separated by commas in flags --cc, --to
and --bcc. Multiple addresses can already be given by using
these options multiple times, but it is more convenient to allow
cutting-and-pasting a list of addresses from the header of an
existing e-mail message, which already lists them as
comma-separated list, as a value to a single parameter.
perhaps?I've taken this description for the first part of the commit message. Thanks!
quoted
before handling more complex ones such as names with commas: $ git send-email --to='Foo, Bar [off-list ref]'Shouldn't this example send to two users, i.e. a local user Foo and the mailbox 'foobar' at example.com whose human-readable name is Bar? If so, that is a bad example to illustrate the aspiration for the finished patch?
Yes, that works if Foo is in an alias file, so that's clearly a bad example, I added quotes: git send-email --to='"Foo, Bar" [off-list ref]' Thanks!