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>
This commit is contained in:
YOSHIFUJI Hideaki / 吉藤英明 2007-04-06 08:50:24 +09:00 коммит произвёл Junio C Hamano
Родитель 0e070f997b
Коммит a925b89cea
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -595,7 +595,7 @@ foreach my $t (@files) {
if ($chain_reply_to || !defined $reply_to || length($reply_to) == 0) { if ($chain_reply_to || !defined $reply_to || length($reply_to) == 0) {
$reply_to = $message_id; $reply_to = $message_id;
if (length $references > 0) { if (length $references > 0) {
$references .= " $message_id"; $references .= "\n $message_id";
} else { } else {
$references = "$message_id"; $references = "$message_id";
} }