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>
This commit is contained in:
parent
b8364903c3
commit
d67114a5f3
@ -621,4 +621,15 @@ test_expect_success 'in-reply-to but no threading' '
|
|||||||
grep "In-Reply-To: <in-reply-id@example.com>"
|
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 \
|
||||||
|
--nochain-reply-to \
|
||||||
|
$patches $patches >stdout &&
|
||||||
|
grep "In-Reply-To: " stdout
|
||||||
|
'
|
||||||
|
|
||||||
test_done
|
test_done
|
||||||
|
Loading…
Reference in New Issue
Block a user