git/list[1] front-page[2] threads[3] people[4] search[5] about
 

[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!
Previous: Junio C HamanoNext: Junio C Hamano
Message 8 of 11 in “send-email: allow multiple emails using --cc --to and --bcc”
  1. send-email: allow multiple emails using --cc --to and --bccRemi Lespinet, May 28, 2015
  2. send-email: allow multiple emails using --cc --to and --bccRemi Lespinet, May 28, 2015
  3. Matthieu MoyMay 28, 2015
  4. Eric SunshineMay 28, 2015
  5. Eric SunshineMay 28, 2015
  6. send-email: allow multiple emails using --cc --to and --bccRemi LESPINET, May 29, 2015
  7. Junio C HamanoMay 28, 2015
  8. send-email: allow multiple emails using --cc --to and --bccRemi LESPINET, May 29, 2015
  9. Junio C HamanoMay 29, 2015
  10. Matthieu MoyMay 29, 2015
  11. Junio C HamanoMay 29, 2015

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.