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 28, 2015, 10:42 UTC
Message-ID
<1432809733-4321-1-git-send-email-remi.lespinet@ensimag.grenoble-inp.fr>
Hello,

I've corrected an old patch from an Ensimag student. (http://thread.gmane.org/gmane.comp.version-control.git/228182). This patch allows multiple email addresses for options --cc, --to and --bcc. As said in the commit message, this patch doesn't handle commas in name, and the only possibility for using commas in name is to use the rfc2047 syntax:

To: =?ISO-8859-1?Q?Ex=2C_ample?= <to@a.com>
I would like to add the possibility to use the following command lines:
    git send-email --to '"Ex, am ple" <to@a.com>'
    git send-email --to '"Ex, am" "ple" <to@a.com>'
    git send-email --to "\"Ex, am ple\" <to@a.com>"
    git send-email --to "\"Ex, am\" \"ple\" <to@a.com>"

Here are my questions : Is this a good idea to handle commas in name ? Do you have any suggestion about proposed syntaxes ?

Next: Remi Lespinet
Message 1 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.