Skip to content

Commit

Permalink
Avoid composing too long "References" header.
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
YOSHIFUJI Hideaki / 吉藤英明 authored and Junio C Hamano committed Apr 6, 2007
1 parent 0e070f9 commit a925b89
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion git-send-email.perl
Original file line number Diff line number Diff line change
Expand Up @@ -595,7 +595,7 @@ sub send_message
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";
}
Expand Down

0 comments on commit a925b89

Please sign in to comment.