diff options
author | Elijah Newren <newren@gmail.com> | 2022-04-22 05:32:18 +0300 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2022-04-22 09:12:38 +0300 |
commit | dde1358970ab9ddafb9f664baadeddde1e9e7842 (patch) | |
tree | 12e36b1ef751e3a65656cc4239f4da6cd0b1daf6 /t/t7002-mv-sparse-checkout.sh | |
parent | 1a4874565fa3b6668042216189551b98b4dc0b1b (diff) |
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>
Diffstat (limited to 't/t7002-mv-sparse-checkout.sh')
-rwxr-xr-x | t/t7002-mv-sparse-checkout.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/t/t7002-mv-sparse-checkout.sh b/t/t7002-mv-sparse-checkout.sh index 1d3d2aca21..f0f7cbfcdb 100755 --- a/t/t7002-mv-sparse-checkout.sh +++ b/t/t7002-mv-sparse-checkout.sh @@ -27,7 +27,7 @@ test_expect_success 'setup' " test_expect_success 'mv refuses to move sparse-to-sparse' ' test_when_finished rm -f e && git reset --hard && - git sparse-checkout set a && + git sparse-checkout set --no-cone a && touch b && test_must_fail git mv b e 2>stderr && cat sparse_error_header >expect && |