summaryrefslogtreecommitdiff
path: root/git-send-email.perl
diff options
context:
space:
mode:
authorYOSHIFUJI Hideaki / 吉藤英明 <yoshfuji@linux-ipv6.org>2007-04-06 08:50:24 +0900
committerJunio C Hamano <junkio@cox.net>2007-04-06 16:49:44 -0700
commita925b89cea15c90ccf131a4ec9770ca1323e4a7f (patch)
treeb47648b3771158d1224d74a84e1a5767ebff1945 /git-send-email.perl
parent0e070f997b529e81f7daff79fea1b61bc9166f6b (diff)
downloadgit-a925b89cea15c90ccf131a4ec9770ca1323e4a7f.tar.gz
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>
Diffstat (limited to 'git-send-email.perl')
-rwxr-xr-xgit-send-email.perl2
1 files changed, 1 insertions, 1 deletions
diff --git a/git-send-email.perl b/git-send-email.perl
index ae50990d08..1278fcba46 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";
}