Thread (22 messages) flat view 22 messages, 2 authors, 2021-08-31

Re: [PATCH 6/6] read-cache: fix GIT_TEST_SPLIT_INDEX

From: Derrick Stolee <hidden>
Date: 2021-08-17 18:29:10

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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help