summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLibravatar Thomas Rast <trast@student.ethz.ch>2009-03-01 23:45:41 +0100
committerLibravatar Junio C Hamano <gitster@pobox.com>2009-03-02 23:15:47 -0800
commit3e0c4ffdbddf1b3f84e0b8aa70e3b2fff68a56c5 (patch)
tree1b6d7df4885febd307f48f0aa96d62cfef85d631
parentGIT 1.6.0.6 (diff)
downloadtgif-3e0c4ffdbddf1b3f84e0b8aa70e3b2fff68a56c5.tar.xz
send-email: respect in-reply-to regardless of threading
git-send-email supports the --in-reply-to option even with --no-thread. However, the code that adds the relevant mail headers was guarded by a test for --thread. Remove the test, so that the user's choice is respected. Signed-off-by: Thomas Rast <trast@student.ethz.ch> Signed-off-by: Junio C Hamano <gitster@pobox.com>
-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 449d938ba9..734dc9f4f9 100755
--- a/git-send-email.perl
+++ b/git-send-email.perl
@@ -727,7 +727,7 @@ Date: $date
Message-Id: $message_id
X-Mailer: git-send-email $gitversion
";
- if ($thread && $reply_to) {
+ if ($reply_to) {
$header .= "In-Reply-To: $reply_to\n";
$header .= "References: $references\n";