]> git.ipfire.org Git - thirdparty/git.git/commit
t9210, t9211: disable GIT_TEST_SPLIT_INDEX for scalar clone tests
authorPaul Tarjan <github@paulisageek.com>
Thu, 9 Apr 2026 04:59:23 +0000 (04:59 +0000)
committerJunio C Hamano <gitster@pobox.com>
Thu, 9 Apr 2026 17:59:27 +0000 (10:59 -0700)
commit7ab80e63898de69e9b61ada62de5315e021850ec
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