]> git.ipfire.org Git - thirdparty/git.git/commit
t9210, t9211: disable GIT_TEST_SPLIT_INDEX for scalar clone tests
authorPaul Tarjan <github@paulisageek.com>
Wed, 15 Apr 2026 13:27:25 +0000 (13:27 +0000)
committerJunio C Hamano <gitster@pobox.com>
Wed, 15 Apr 2026 15:44:32 +0000 (08:44 -0700)
commit7cce609e086866d054a1433d0356fa71e55c108d
tree670ffd10b8254de0dc9c1da397e8d81d248e18d3
parent68cb7f9e92a5d8e9824f5b52ac3d0a9d8f653dbe
t9210, t9211: disable GIT_TEST_SPLIT_INDEX for scalar clone tests

index.skipHash (Scalar default) and split-index are incompatible:
the shared index gets a null OID when skipHash skips computing the
hash, and the null OID causes the shared index to not be loaded on
re-read.  This triggers a BUG assertion in fsmonitor when the
fsmonitor_dirty bitmap references more entries than the (now empty)
index has.

Disable GIT_TEST_SPLIT_INDEX in the scalar clone tests that hit
this: tests 12, 13, and 22 in t9210 (matching the existing
workaround in test 16), and all of t9211 (every test does scalar
clone).

Signed-off-by: Paul Tarjan <github@paulisageek.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t9210-scalar.sh
t/t9211-scalar-clone.sh