Skip to content

Commit 6d69130

Browse files
committed
fixup! gvfs-helper: create tool to fetch objects using the GVFS Protocol
We need to prevent the test case that disables writing the commit graph from forcefully using the (now stale) commit graph. Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
1 parent d8ec745 commit 6d69130

1 file changed

Lines changed: 5 additions & 3 deletions

File tree

‎t/t0499-read-object.sh‎

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -53,8 +53,9 @@ test_expect_success 'no-fetch commit lookups skip object acquisition' '
5353
test_write_lines "$tip" "?$parent" >expect &&
5454
for helper in false true
5555
do
56-
GIT_TRACE2_EVENT="$PWD/no-fetch-$helper.trace" \
57-
git -C no-fetch -c core.gvfs=0 -c core.commitGraph=false \
56+
env GIT_TEST_COMMIT_GRAPH=0 \
57+
GIT_TRACE2_EVENT="$PWD/no-fetch-$helper.trace" \
58+
git -C no-fetch -c core.gvfs=0 -c core.commitGraph=false \
5859
-c core.useGVFSHelper=$helper \
5960
-c core.virtualizeObjects=true \
6061
rev-list --missing=print HEAD >actual &&
@@ -70,7 +71,8 @@ test_expect_success 'no-fetch commit lookups still report corruption' '
7071
for helper in false true
7172
do
7273
test_must_fail \
73-
env GIT_TRACE2_EVENT="$PWD/corrupt-$helper.trace" \
74+
env GIT_TEST_COMMIT_GRAPH=0 \
75+
GIT_TRACE2_EVENT="$PWD/corrupt-$helper.trace" \
7476
git -C no-fetch \
7577
-c core.gvfs=0 -c core.commitGraph=false \
7678
-c core.useGVFSHelper=$helper \

0 commit comments

Comments
 (0)