]> git.ipfire.org Git - thirdparty/git.git/commit - git-send-email.perl
Check and document the options to prevent mistakes.
authorEric W. Biederman <ebiederm@xmission.com>
Wed, 21 Jun 2006 13:17:31 +0000 (07:17 -0600)
committerJunio C Hamano <junkio@cox.net>
Thu, 22 Jun 2006 07:20:20 +0000 (00:20 -0700)
commit79ee555bac7a5ff846c8a381792bbe93cdffbf97
tree5f863d69722c7e0b967abbc574880d642447135d
parentc1f8064b143f98e8b3c5ff1ce12ebd0800df5d67
Check and document the options to prevent mistakes.

When multiple recipients are given to git-send-email on the same
--cc line the code does not properly handle it.

Full and proper parsing of the email addresses so I can detect
which commas mean a new email address is more than I care to implement.

In particular this email address: "bibo,mao" <bibo.mao@intel.com>
must not be treated as two email addresses.

So this patch simply treats all commas in recipient lists as
an error and fails if one is given.

At the same time it documents that git-send-email wants multiple
instances of --cc specified on the command line if you want to
cc multiple recipients.

Signed-off-by: Eric W. Biederman <ebiederm@xmission.com>
Signed-off-by: Junio C Hamano <junkio@cox.net>
Documentation/git-send-email.txt
git-send-email.perl