]> git.ipfire.org Git - thirdparty/git.git/commit
fsck tests: test current hash/type mismatch behavior
authorÆvar Arnfjörð Bjarmason <avarab@gmail.com>
Fri, 1 Oct 2021 09:16:39 +0000 (11:16 +0200)
committerJunio C Hamano <gitster@pobox.com>
Fri, 1 Oct 2021 22:05:59 +0000 (15:05 -0700)
commit42cd635b21f3a440c775022003b168feef946fa6
tree9c75a0426891ff2743f573af4dafb5589b6d25f3
parentf7a0dba7a25ec600e2c9e8d98ecabf8d3d97f6ed
fsck tests: test current hash/type mismatch behavior

If fsck we move an object around between .git/objects/?? directories
to simulate a hash mismatch "git fsck" will currently hard die() in
object-file.c. This behavior will be fixed in subsequent commits, but
let's test for it as-is for now.

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