]> git.ipfire.org Git - thirdparty/git.git/commit - git-send-email.perl
git-send-email.perl: fold multiple entry "Cc:" and multiple single line "RCPT TO:"s
authorJoe Perches <joe@perches.com>
Thu, 8 Oct 2009 17:03:26 +0000 (10:03 -0700)
committerJunio C Hamano <gitster@pobox.com>
Sat, 10 Oct 2009 00:02:21 +0000 (17:02 -0700)
commit02461e0e2833753151ed71899f075c94e5fc495b
tree21e38c24e55b2ae8abf1d8c453affe92546dd56a
parent1cd749cc0722533bd1849f491ec9ab19e17232e1
git-send-email.perl: fold multiple entry "Cc:" and multiple single line "RCPT TO:"s

Some MTAs reject Cc: lines longer than 78 chars.
Avoid this by using the same join as "To:" ",\n\t"
so each subsequent Cc entry is on a new line.

RCPT TO: should have a single entry per line.
see: http://www.ietf.org/rfc/rfc2821.txt

Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
git-send-email.perl
t/t9001-send-email.sh