remerge CONFLICT (content): Merge conflict in t/t1091-sparse-checkout-builtin.sh
@@ -275,24 +275,8 @@ test_expect_success 'sparse-index enabled and disabled' '
diff -u sparse full | tail -n +3 >actual &&
test_cmp expect actual &&
-<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< 286c22e5ec (sparse-checkout: reject arguments in cone-mode that look like patterns)
git -C repo config --list >config &&
- ! grep index.sparse config
-|||||||||||||||||||||||||||||||| 89bece5c8c
- diff -u sparse full | tail -n +3 >actual &&
- test_cmp expect actual &&
-
- git -C repo config --list >config &&
- ! grep index.sparse config
- )
-================================
- diff -u sparse full | tail -n +3 >actual &&
- test_cmp expect actual &&
-
- git -C repo config --list >config &&
- test_cmp_config -C repo false index.sparse
- )
->>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> 3ce1138272 (config: make git_configset_get_string_tmp() private)
+ test_cmp_config -C repo false index.sparse
'
test_expect_success 'cone mode: init and set' '
@@ -532,6 +516,7 @@ test_expect_success 'reapply can handle config options' '
cat >expect <<-\EOF &&
core.sparsecheckout=true
core.sparsecheckoutcone=true
+ index.sparse=false
EOF
test_cmp expect actual &&
@@ -539,6 +524,8 @@ test_expect_success 'reapply can handle config options' '
git -C repo config --worktree --list >actual &&
cat >expect <<-\EOF &&
core.sparsecheckout=true
+ core.sparsecheckoutcone=false
+ index.sparse=false
EOF
test_cmp expect actual &&