summaryrefslogtreecommitdiff
path: root/Documentation/git-send-email.txt
diff options
context:
space:
mode:
authorJay Soffian <jaysoffian@gmail.com>2009-02-15 04:32:14 (GMT)
committerJunio C Hamano <gitster@pobox.com>2009-02-15 05:48:38 (GMT)
commit5012699d9840fe34fe0838ea0d529c2f32f76b82 (patch)
tree55e117003757090ec687360a2f918e8e514a3257 /Documentation/git-send-email.txt
parenteed6ca7c402cb51ff6cfd3ecf1f1cac788579b5d (diff)
downloadgit-5012699d9840fe34fe0838ea0d529c2f32f76b82.zip
git-5012699d9840fe34fe0838ea0d529c2f32f76b82.tar.gz
git-5012699d9840fe34fe0838ea0d529c2f32f76b82.tar.bz2
send-email: handle multiple Cc addresses when reading mbox message
When git format-patch is given multiple --cc arguments, it generates a Cc header that looks like: Cc: first@example.com, second@example.com, third@example.com Before this commit, send-email was unable to handle such a message as it did not handle folded header lines, nor multiple recipients in a Cc line. This patch: - Unfolds header lines by pre-processing the header before extracting any of its fields. - Handles Cc lines with multiple recipients. - Adds use of Mail::Address if available for splitting Cc line and the "Who should the emails be sent to?" prompt", with fall back to existing split_addrs() function. - Tests the new functionality and adds two tests for detecting whether "From:" appears correctly in message body when patch author differs from patch sender. Signed-off-by: Jay Soffian <jaysoffian@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation/git-send-email.txt')
0 files changed, 0 insertions, 0 deletions