[PATCH/RFC] send-email: allow multiple emails using --cc --to and --bcc

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Junio C Hamano <gitster@xxxxxxxxx> writes:

> Remi Lespinet <remi.lespinet@xxxxxxxxxxxxxxxxxxxxxxx> 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!

> > before handling more complex ones such as names with commas:
> >         $ git send-email --to='Foo, Bar <foobar@xxxxxxxxxxx>'
> 
> 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@xxxxxxxxxxx>'

Thanks!
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]