Skip to content

Commit 11042ab

Browse files
derrickstoleegitster
authored andcommitted
p2000: compress repo names
By using shorter names for the test repos, we will get a slightly more compressed performance summary without comprimising clarity. Signed-off-by: Derrick Stolee <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 0d53d19 commit 11042ab

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

t/perf/p2000-sparse-operations.sh

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -52,36 +52,36 @@ test_expect_success 'setup repo and indexes' '
5252
git commit -a -m "edit $SPARSE_CONE/$l2/a" || return 1
5353
done &&
5454
55-
git -c core.sparseCheckoutCone=true clone --branch=wide --sparse . full-index-v3 &&
55+
git -c core.sparseCheckoutCone=true clone --branch=wide --sparse . full-v3 &&
5656
(
57-
cd full-index-v3 &&
57+
cd full-v3 &&
5858
git sparse-checkout init --cone &&
5959
git sparse-checkout set $SPARSE_CONE &&
6060
git config index.version 3 &&
6161
git update-index --index-version=3 &&
6262
git checkout HEAD~4
6363
) &&
64-
git -c core.sparseCheckoutCone=true clone --branch=wide --sparse . full-index-v4 &&
64+
git -c core.sparseCheckoutCone=true clone --branch=wide --sparse . full-v4 &&
6565
(
66-
cd full-index-v4 &&
66+
cd full-v4 &&
6767
git sparse-checkout init --cone &&
6868
git sparse-checkout set $SPARSE_CONE &&
6969
git config index.version 4 &&
7070
git update-index --index-version=4 &&
7171
git checkout HEAD~4
7272
) &&
73-
git -c core.sparseCheckoutCone=true clone --branch=wide --sparse . sparse-index-v3 &&
73+
git -c core.sparseCheckoutCone=true clone --branch=wide --sparse . sparse-v3 &&
7474
(
75-
cd sparse-index-v3 &&
75+
cd sparse-v3 &&
7676
git sparse-checkout init --cone --sparse-index &&
7777
git sparse-checkout set $SPARSE_CONE &&
7878
git config index.version 3 &&
7979
git update-index --index-version=3 &&
8080
git checkout HEAD~4
8181
) &&
82-
git -c core.sparseCheckoutCone=true clone --branch=wide --sparse . sparse-index-v4 &&
82+
git -c core.sparseCheckoutCone=true clone --branch=wide --sparse . sparse-v4 &&
8383
(
84-
cd sparse-index-v4 &&
84+
cd sparse-v4 &&
8585
git sparse-checkout init --cone --sparse-index &&
8686
git sparse-checkout set $SPARSE_CONE &&
8787
git config index.version 4 &&
@@ -92,8 +92,8 @@ test_expect_success 'setup repo and indexes' '
9292

9393
test_perf_on_all () {
9494
command="$@"
95-
for repo in full-index-v3 full-index-v4 \
96-
sparse-index-v3 sparse-index-v4
95+
for repo in full-v3 full-v4 \
96+
sparse-v3 sparse-v4
9797
do
9898
test_perf "$command ($repo)" "
9999
(

0 commit comments

Comments
 (0)