mirror of
https://github.com/git/git
synced 2024-08-28 20:20:07 +00:00
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>
This commit is contained in:
parent
718258e256
commit
3e0c4ffdbd
|
@ -727,7 +727,7 @@ sub send_message
|
|||
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";
|
||||
|
|
Loading…
Reference in a new issue