[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 ?