[PATCH/RFC] send-email: allow multiple emails using --cc --to and --bcc
- From
Remi LESPINET <remi.lespinet@ensimag.grenoble-inp.fr>
- Date
- May 29, 2015, 16:05 UTC
- Message-ID
- <87oal32wuj.fsf@ensimag.grenoble-inp.fr>
- In-Reply-To
- <xmqq382giokd.fsf@gitster.dls.corp.google.com>
Junio C Hamano <gitster@pobox.com> writes:
> Remi Lespinet <remi.lespinet@ensimag.grenoble-inp.fr> writes:
Show 8 quoted lines
> 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!
Show 7 quoted lines
> > before handling more complex ones such as names with commas: > > $ git send-email --to='Foo, Bar <foobar@example.com>' > > 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" <foobar@example.com>'
Thanks!