From: Derrick Stolee Date: Tue, 17 Aug 2021 18:29:06 GMT Subject: Re: [PATCH 6/6] read-cache: fix GIT_TEST_SPLIT_INDEX Message-ID: In-Reply-To: <20210817174938.3009923-7-szeder.dev@gmail.com> 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