Skip to content

Commit 1f65174

Browse files
committed
p2000: explicitly turn off sparse index
The full index test cases in p2000-sparse-operations.sh relied on the fact that the sparse index was off by default. When this default was flipped, the performance test was not altered. Do so now with the --no-sparse-index flag. Signed-off-by: Derrick Stolee <[email protected]>
1 parent b713582 commit 1f65174

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

t/perf/p2000-sparse-operations.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ test_expect_success 'setup repo and indexes' '
5555
git -c core.sparseCheckoutCone=true clone --branch=wide --sparse . full-v3 &&
5656
(
5757
cd full-v3 &&
58-
git sparse-checkout init --cone &&
58+
git sparse-checkout init --cone --no-sparse-index &&
5959
git sparse-checkout set $SPARSE_CONE &&
6060
git config index.version 3 &&
6161
git update-index --index-version=3 &&
@@ -64,7 +64,7 @@ test_expect_success 'setup repo and indexes' '
6464
git -c core.sparseCheckoutCone=true clone --branch=wide --sparse . full-v4 &&
6565
(
6666
cd full-v4 &&
67-
git sparse-checkout init --cone &&
67+
git sparse-checkout init --cone --no-sparse-index &&
6868
git sparse-checkout set $SPARSE_CONE &&
6969
git config index.version 4 &&
7070
git update-index --index-version=4 &&

0 commit comments

Comments
 (0)