On 8/17/2021 1:49 PM, SZEDER Gábor wrote:
Sorry to crop all of your excellent description of why this wasn't
working before and why it will work now, but...
+test_expect_success 'GIT_TEST_SPLIT_INDEX works' '
+ git init git-test-split-index &&
+ (
+ cd git-test-split-index &&
+ >file &&
+ GIT_TEST_SPLIT_INDEX=1 git update-index --add file &&
+ ls -l .git/sharedindex.* >actual &&
+ test_line_count = 1 actual
+ )
+'
+
This is really the critical piece to ensure we don't have a
similar problem in the future. Thanks!
-Stolee