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

Re: [PATCH] send-email: allow use of basic email list in --cc --to and --bcc

From
Matthieu Moy <matthieu.moy@grenoble-inp.fr>
Date
Jun 18, 2013, 15:05 UTC
Message-ID
<vpqehbzpihh.fsf@anie.imag.fr>
In-Reply-To
<7vip1b8nut.fsf@alter.siamese.dyndns.org>
Junio C Hamano <gitster@pobox.com> writes:
Show 8 quoted lines
> Doesn't
>
> 	git send-email --to='Foo <foo@example.com>' --to='bar@example.com'
>
> work?  If it does, I do not see much point of this change.  If you
> are starting from two pieces of information, why combine it into
> one, only have the program to split it again, risking to be bitten
> by bugs, and changing the code to do so, risking to add new bugs?

The obvious use-case is to copy-paste a list of addresses from an email. Currently, the Cc: list of the email I'm sending looks like

Cc: Jorge-Juan.Garcia-Garcia@ensimag.imag.fr,  git@vger.kernel.org,  Mathieu Lienard--Mayor <Mathieu.Lienard--Mayor@ensimag.imag.fr>

If I were to use "git send-email" on it, I'd have to cut the list myself.

This could be mentionned in the commit message.
-- 
Matthieu Moy
http://www-verimag.imag.fr/~moy/
Previous: Junio C HamanoNext: Junio C Hamano
Message 12 of 13 in “send-email: allow use of basic email list in --cc --to and --bcc”
  1. send-email: allow use of basic email list in --cc --to and --bccjorge-juan.garcia-garcia@ensimag.imag.fr, Jun 18, 2013
  2. Ramkumar RamachandraJun 18, 2013
  3. Mathieu Liénard--MayorJun 18, 2013
  4. Ramkumar RamachandraJun 18, 2013
  5. benoît personJun 18, 2013
  6. Ramkumar RamachandraJun 18, 2013
  7. Mathieu Liénard--MayorJun 18, 2013
  8. Ramkumar RamachandraJun 18, 2013
  9. Matthieu MoyJun 18, 2013
  10. Ramkumar RamachandraJun 18, 2013
  11. Junio C HamanoJun 18, 2013
  12. Matthieu MoyJun 18, 2013
  13. Junio C HamanoJun 18, 2013

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.