Skip to content

Commit 32ae831

Browse files
marcowsgitster
authored andcommitted
add a test for git-send-email for non-threaded mails
Signed-off-by: Markus Heidelberg <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 94af7c3 commit 32ae831

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

t/t9001-send-email.sh

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -621,4 +621,14 @@ test_expect_success 'in-reply-to but no threading' '
621621
grep "In-Reply-To: <[email protected]>"
622622
'
623623

624+
test_expect_failure 'no in-reply-to and no threading' '
625+
git send-email \
626+
--dry-run \
627+
--from="Example <[email protected]>" \
628+
629+
--nothread \
630+
$patches $patches >stdout &&
631+
! grep "In-Reply-To: " stdout
632+
'
633+
624634
test_done

0 commit comments

Comments
 (0)