]> git.ipfire.org Git - thirdparty/git.git/commit
mktag tests: test for-each-ref
authorÆvar Arnfjörð Bjarmason <avarab@gmail.com>
Thu, 17 Jun 2021 10:42:01 +0000 (12:42 +0200)
committerJunio C Hamano <gitster@pobox.com>
Mon, 28 Jun 2021 16:30:41 +0000 (09:30 -0700)
commitb48015b3404cb19bfd3b6df1a372164d8cd3f7d7
treefc5fb60baf1f4cfb11de46d4c1ad11370c69771e
parenteddc1f556cd031d59b044ab655cdc591c6180e21
mktag tests: test for-each-ref

Add a "for-each-ref" for all the mktag tests. This test would have
caught the segfault which was fixed in c6854508808 (ref-filter: fix
NULL check for parse object failure, 2021-04-01). Let's make sure we
test that code more exhaustively.

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