]> git.ipfire.org Git - thirdparty/git.git/commit
send-email: fix non-threaded mails
authorMarkus Heidelberg <markus.heidelberg@web.de>
Fri, 12 Jun 2009 10:51:38 +0000 (12:51 +0200)
committerJunio C Hamano <gitster@pobox.com>
Fri, 12 Jun 2009 16:20:21 +0000 (09:20 -0700)
commit5e9758e2968238906c730c9c77ecc95c21e7495e
tree9bf676400098435b71b406faeda436df2d7c8f3f
parent32ae83194b0f287a9b6644cdad175c56417c31f3
send-email: fix non-threaded mails

After commit 3e0c4ff (send-email: respect in-reply-to regardless of
threading, 2009-03-01) the variable $thread was only used for prompting
for an "In-Reply-To", but not for controlling whether the "In-Reply-To"
and "References" fields should be written into the email.

Thus these fields were always used beginning with the second mail and it
was not possible to produce non-threaded mails anymore.

However, a later commit 15da108 ("send-email: 'References:' should only
reference what is sent", 2009-04-13) introduced a regression with the
side effect to make non-threaded mails possible again, but only when
--no-chain-reply-to was used.

Signed-off-by: Markus Heidelberg <markus.heidelberg@web.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
git-send-email.perl
t/t9001-send-email.sh