Skip to content

Commit d67114a

Browse files
marcowsgitster
authored andcommitted
add a test for git-send-email for threaded mails without chain-reply-to
Signed-off-by: Markus Heidelberg <markus.heidelberg@web.de> Signed-off-by: Junio C Hamano <gitster@pobox.com>
1 parent b836490 commit d67114a

1 file changed

Lines changed: 11 additions & 0 deletions

File tree

t/t9001-send-email.sh

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -621,4 +621,15 @@ test_expect_success 'in-reply-to but no threading' '
621621
grep "In-Reply-To: <in-reply-id@example.com>"
622622
'
623623

624+
test_expect_failure 'threading but no chain-reply-to' '
625+
git send-email \
626+
--dry-run \
627+
--from="Example <nobody@example.com>" \
628+
--to=nobody@example.com \
629+
--thread \
630+
--nochain-reply-to \
631+
$patches $patches >stdout &&
632+
grep "In-Reply-To: " stdout
633+
'
634+
624635
test_done

0 commit comments

Comments
 (0)