diff options
author | Thomas Rast <trast@student.ethz.ch> | 2009-03-01 23:45:41 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2009-03-02 23:15:47 -0800 |
commit | 3e0c4ffdbddf1b3f84e0b8aa70e3b2fff68a56c5 (patch) | |
tree | 1b6d7df4885febd307f48f0aa96d62cfef85d631 | |
parent | GIT 1.6.0.6 (diff) | |
download | tgif-3e0c4ffdbddf1b3f84e0b8aa70e3b2fff68a56c5.tar.xz |
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>
-rwxr-xr-x | git-send-email.perl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/git-send-email.perl b/git-send-email.perl index 449d938ba9..734dc9f4f9 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"; |