]> git.ipfire.org Git - thirdparty/git.git/commit
send-email: remove cargo-culted multi-patch pattern in tests
authorÆvar Arnfjörð Bjarmason <avarab@gmail.com>
Fri, 17 May 2019 19:55:41 +0000 (21:55 +0200)
committerJunio C Hamano <gitster@pobox.com>
Sun, 19 May 2019 01:12:51 +0000 (10:12 +0900)
commit2554dd1aa8ddbaa043cbd12da0ec7084a1413f37
tree2d36a1292a92f4566195b8c163da41cf44b2f54b
parent3494dfd3ee058bbeab6a462673d9184dcd694a8b
send-email: remove cargo-culted multi-patch pattern in tests

Change test code added in f434c083a0 ("send-email: add --no-cc,
--no-to, and --no-bcc", 2010-03-07) which blindly copied a pattern
from an earlier test added in 32ae83194b ("add a test for
git-send-email for non-threaded mails", 2009-06-12) where the
"$patches" variable was supplied more than once.

As it turns out we didn't need more than one "$patches" for the test
added in 32ae83194b either. The only tests that actually needed this
sort of invocation were the tests added in 54aae5e1a0 ("t9001:
send-email interation with --in-reply-to and --chain-reply-to",
2010-10-19).

Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t9001-send-email.sh