@matheusbsbs / matheus-bagliano / commits / a925b89cea
Fork 0

Avoid composing too long "References" header.

The number of characters in a line MUST be no more than 998 characters, and SHOULD be no more than 78 characters (RFC2822). It is much safer to fold the header by ourselves. Signed-off-by: YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org> Signed-off-by: Junio C Hamano <junkio@cox.net>

YOSHIFUJI Hideaki / 吉藤英明 committed Apr 6, 2007 at 08:50 UTC a925b89cea15c90ccf131a4ec9770ca1323e4a7f
1 file changed +1 -1
git-send-email.perl
+1 -1
@@ -595,7 +595,7 @@ foreach my $t (@files) {
595 if ($chain_reply_to || !defined $reply_to || length($reply_to) == 0) {
596 $reply_to = $message_id;
597 if (length $references > 0) {
598 - $references .= " $message_id";
598 + $references .= "\n $message_id";
599 } else {
600 $references = "$message_id";
601 }