From: Matthieu Moy Date: Thu, 13 Oct 2016 05:47:27 +0000 (+0200) Subject: parse_mailboxes: accept extra text after <...> address X-Git-Tag: v2.10.3~19^2~2 X-Git-Url: https://git.lorimer.id.au/gitweb.git/diff_plain/e3fdbcc8e16474f50749a384175f78908c4f038e?ds=sidebyside;hp=e3fdbcc8e16474f50749a384175f78908c4f038e parse_mailboxes: accept extra text after <...> address The test introduced in this commit succeeds without the patch to Git.pm if Mail::Address is installed, but fails otherwise because our in-house parser does not accept any text after the email address. They succeed both with and without Mail::Address after this commit. Mail::Address accepts extra text and considers it as part of the name, iff the address is surrounded with <...>. The implementation mimics this behavior as closely as possible. This mostly restores the behavior we had before b1c8a11 (send-email: allow multiple emails using --cc, --to and --bcc, 2015-06-30), but we keep the possibility to handle comma-separated lists. Reported-by: Larry Finger Signed-off-by: Matthieu Moy Signed-off-by: Junio C Hamano ---