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 <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent b836490 commit d67114a

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

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: <[email protected]>"
622622
'
623623

624+
test_expect_failure 'threading but no chain-reply-to' '
625+
git send-email \
626+
--dry-run \
627+
--from="Example <[email protected]>" \
628+
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)