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>
Thomas Rast committed
Mar 1, 2009 at 23:45 UTC
3e0c4ffdbddf1b3f84e0b8aa70e3b2fff68a56c5
1 file changed
+1
-1
git-send-email.perl
+1
-1
@@ -727,7 +727,7 @@ Date: $date
727
Message-Id: $message_id
728
X-Mailer: git-send-email $gitversion
729
";
730
- if ($thread && $reply_to) {
730
+ if ($reply_to) {
731
732
$header .= "In-Reply-To: $reply_to\n";
733
$header .= "References: $references\n";