mirror of
https://github.com/git/git.git
synced 2026-01-10 10:13:33 +00:00
tests: stop assuming --no-cone is the default mode for sparse-checkout
Add an explicit --no-cone to several sparse-checkout invocations in preparation for changing the default to cone mode. Signed-off-by: Elijah Newren <newren@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
committed by
Junio C Hamano
parent
1a4874565f
commit
dde1358970
@@ -151,7 +151,7 @@ test_expect_success 'stash restore in sparse checkout' '
|
||||
|
||||
git stash push &&
|
||||
|
||||
git sparse-checkout set subdir &&
|
||||
git sparse-checkout set --no-cone subdir &&
|
||||
|
||||
# Ensure after sparse-checkout we only have expected files
|
||||
cat >expect <<-EOF &&
|
||||
|
||||
Reference in New Issue
Block a user