]> git.99rst.org Git - git.git/commit
mktag tests: test update-ref and reachable fsck
authorÆvar Arnfjörð Bjarmason <redacted>
Thu, 17 Jun 2021 10:42:00 +0000 (12:42 +0200)
committerJunio C Hamano <redacted>
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 <redacted>
Signed-off-by: Junio C Hamano <redacted>
t/t3800-mktag.sh
git clone https://git.99rst.org/PROJECT