[PATCH 1/2] add a test case for threaded mails without chain-reply-to
Signed-off-by: Markus Heidelberg <markus.heidelberg@web.de>
---
Show 20 quoted lines
> Markus Heidelberg, 06.06.2009:
> > Markus Heidelberg (4):
> > Don't count the submenu entries for checking if it is empty
> > Correctly count the entries in the revs context menu
> > Avoid submenus with merely 1 entry
> > Create a separate submenu for tags
>
> Hmm, no In-Reply-To in 1..4/4
>
> I think I managed to do this earlier with just
> $ git format-patch -4 -s
> $ git send-email 000*
>
> But not even
> $ git send-email --thread 000*
> seems to work.
>
> Only
> $ git format-patch -4 -s --thread
> $ git send-email 000*
Indeed a regression.
t/t9001-send-email.sh | 11 +++++++++++
1 files changed, 11 insertions(+), 0 deletions(-)
diff --git a/t/t9001-send-email.sh b/t/t9001-send-email.sh
index ce26ea4..576bbd3 100755
--- a/t/t9001-send-email.sh
+++ b/t/t9001-send-email.sh
@@ -621,4 +621,15 @@ test_expect_success 'in-reply-to but no threading' '
grep "In-Reply-To: <in-reply-id@example.com>"
'
+test_expect_failure 'threading but no chain-reply-to' '
+ git send-email \
+ --dry-run \
+ --from="Example <nobody@example.com>" \
+ --to=nobody@example.com \
+ --thread \
+ --no-chain-reply-to \
+ $patches $patches |
+ grep "In-Reply-To: "
+'
+
test_done
--
1.6.3.2.216.g24c61