]> git.ipfire.org Git - thirdparty/git.git/blobdiff - t/t6428-merge-conflicts-sparse.sh
The tenth batch
[thirdparty/git.git] / t / t6428-merge-conflicts-sparse.sh
index 142c9aaabc5309078e38cc01607f821520f965fc..9919c3fa7cd4359ebe36e3b4b1cbbe99da227905 100755 (executable)
@@ -29,7 +29,7 @@ test_description="merge cases"
 # Testcase basic, conflicting changes in 'numerals'
 
 test_setup_numerals () {
-       test_create_repo numerals_$1 &&
+       git init numerals_$1 &&
        (
                cd numerals_$1 &&
 
@@ -87,7 +87,7 @@ test_expect_success 'conflicting entries written to worktree even if sparse' '
                test_path_is_file numerals &&
 
                git sparse-checkout init &&
-               git sparse-checkout set README &&
+               git sparse-checkout set --no-cone README &&
 
                test_path_is_file README &&
                test_path_is_missing numerals &&
@@ -123,7 +123,7 @@ test_expect_success 'present-despite-SKIP_WORKTREE handled reasonably' '
                test_path_is_file numerals &&
 
                git sparse-checkout init &&
-               git sparse-checkout set README &&
+               git sparse-checkout set --no-cone README &&
 
                test_path_is_file README &&
                test_path_is_missing numerals &&