Re: [PATCH 6/6] read-cache: fix GIT_TEST_SPLIT_INDEX
- From
Derrick Stolee <stolee@gmail.com>
- Date
- Aug 17, 2021, 18:29 UTC
- Message-ID
- <edd7b53e-f0e9-b56c-e13d-63a2f963b703@gmail.com>
- 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...
Show 11 quoted lines
> +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