mirror of
https://github.com/git/git.git
synced 2024-11-25 02:44:48 +08: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 @@ 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";
|
||||
|
Loading…
Reference in New Issue
Block a user