aboutsummaryrefslogtreecommitdiffstats
path: root/commit-graph.c
diff options
context:
space:
mode:
authorÆvar Arnfjörð Bjarmason <avarab@gmail.com>2021-01-05 20:42:42 +0100
committerJunio C Hamano <gitster@pobox.com>2021-01-05 14:58:29 -0800
commit692654dca01dda9951a81de4ecfa958b61b8bc5c (patch)
tree7dfdba837cecba451b08fc503279c2e053f2cc54 /commit-graph.c
parentmktag tests: improve verify_object() test coverage (diff)
downloadgit-692654dca01dda9951a81de4ecfa958b61b8bc5c.tar.gz
git-692654dca01dda9951a81de4ecfa958b61b8bc5c.zip
mktag tests: test verify_object() with replaced objects
Add tests to demonstrate what "mktag" does in the face of replaced objects. There was an existing test for replaced objects fed to "mktag" added in cc400f50112 (mktag: call "check_sha1_signature" with the replacement sha1, 2009-01-23), but that one only tests a commit->commit mapping. Not a mapping to a different type as like we're also testing for here. We could remove the "mktag" test in t6050-replace.sh now if the created tag wasn't being used by a subsequent "fsck" test. Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'commit-graph.c')
0 files changed, 0 insertions, 0 deletions