From: YOSHIFUJI Hideaki / 吉藤英明 Date: Thu, 5 Apr 2007 23:50:24 +0000 (+0900) Subject: Avoid composing too long "References" header. X-Git-Tag: v1.5.1.1~20 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=a925b89cea15c90ccf131a4ec9770ca1323e4a7f;p=git.git 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 Signed-off-by: Junio C Hamano --- diff --git a/git-send-email.perl b/git-send-email.perl index ae50990d0..1278fcba4 100755 --- a/git-send-email.perl +++ b/git-send-email.perl @@ -595,7 +595,7 @@ foreach my $t (@files) { if ($chain_reply_to || !defined $reply_to || length($reply_to) == 0) { $reply_to = $message_id; if (length $references > 0) { - $references .= " $message_id"; + $references .= "\n $message_id"; } else { $references = "$message_id"; }