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 <markus.heidelberg@web.de> Signed-off-by: Junio C Hamano <gitster@pobox.com>
1 parent 94af7c3 commit 32ae831

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

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: <in-reply-id@example.com>"
622622
'
623623

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

0 commit comments

Comments
 (0)