]> git.99rst.org Git - git.git/commit
fsck tests: test current hash/type mismatch behavior
authorÆvar Arnfjörð Bjarmason <redacted>
Fri, 1 Oct 2021 09:16:39 +0000 (11:16 +0200)
committerJunio C Hamano <redacted>
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 <redacted>
Signed-off-by: Junio C Hamano <redacted>
t/t1450-fsck.sh
git clone https://git.99rst.org/PROJECT