summaryrefslogtreecommitdiff
path: root/git-send-email.perl
diff options
context:
space:
mode:
authorThomas Rast <trast@student.ethz.ch>2009-03-01 23:45:41 +0100
committerJunio C Hamano <gitster@pobox.com>2009-03-02 23:15:47 -0800
commit3e0c4ffdbddf1b3f84e0b8aa70e3b2fff68a56c5 (patch)
tree1b6d7df4885febd307f48f0aa96d62cfef85d631 /git-send-email.perl
parent718258e256b74622aa55f5ee0cb9cff4cce6bf9f (diff)
downloadgit-3e0c4ffdbddf1b3f84e0b8aa70e3b2fff68a56c5.tar.gz
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>
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 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";