From: Thomas Rast Date: Sun, 1 Mar 2009 22:45:41 +0000 (+0100) Subject: send-email: respect in-reply-to regardless of threading X-Git-Tag: v1.6.2.2~23^2~1 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=3e0c4ffdbddf1b3f84e0b8aa70e3b2fff68a56c5;p=git.git 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 Signed-off-by: Junio C Hamano --- diff --git a/git-send-email.perl b/git-send-email.perl index 449d938ba..734dc9f4f 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";