Skip to content

Commit 3e0c4ff

Browse files
trastgitster
authored andcommitted
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 <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 718258e commit 3e0c4ff

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

git-send-email.perl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -727,7 +727,7 @@ sub send_message
727727
Message-Id: $message_id
728728
X-Mailer: git-send-email $gitversion
729729
";
730-
if ($thread && $reply_to) {
730+
if ($reply_to) {
731731

732732
$header .= "In-Reply-To: $reply_to\n";
733733
$header .= "References: $references\n";

0 commit comments

Comments
 (0)