]> git.ipfire.org Git - thirdparty/git.git/commit
mktag tests: test update-ref and reachable fsck
authorÆvar Arnfjörð Bjarmason <avarab@gmail.com>
Thu, 17 Jun 2021 10:42:00 +0000 (12:42 +0200)
committerJunio C Hamano <gitster@pobox.com>
Mon, 28 Jun 2021 16:30:41 +0000 (09:30 -0700)
commiteddc1f556cd031d59b044ab655cdc591c6180e21
tree0968abdca53982414439822a32984cb2cbfdaf8d
parent47c0cb1a5db27dcf1c6117158b8152d1beacc9de
mktag tests: test update-ref and reachable fsck

Extend the mktag tests to pass the created bad tag through update-ref
and fsck.

The reason for passing it through update-ref is to guard against it
having a segfault as for-each-ref did before c6854508808 (ref-filter:
fix NULL check for parse object failure, 2021-04-01).

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