]> git.ipfire.org Git - thirdparty/git.git/blobdiff - t/t6439-merge-co-error-msgs.sh
t6[4-9]*: adjust the references to the default branch name "main"
[thirdparty/git.git] / t / t6439-merge-co-error-msgs.sh
index e5542ceb2434f84755fc083e7658da08815b4656..e176475ed5bbe1ca9a10e0f533add9a8234b7b56 100755 (executable)
@@ -2,7 +2,7 @@
 
 test_description='unpack-trees error messages'
 
-GIT_TEST_DEFAULT_INITIAL_BRANCH_NAME=master
+GIT_TEST_DEFAULT_INITIAL_BRANCH_NAME=main
 export GIT_TEST_DEFAULT_INITIAL_BRANCH_NAME
 
 . ./test-lib.sh
@@ -21,7 +21,7 @@ test_expect_success 'setup' '
        git add two three four five &&
        git commit -m Second &&
 
-       git checkout master &&
+       git checkout main &&
        echo other >two &&
        echo other >three &&
        echo other >four &&
@@ -86,7 +86,7 @@ test_expect_success 'cannot switch branches because of local changes' '
        echo two >rep/two &&
        git add rep/one rep/two &&
        git commit -m Fourth &&
-       git checkout master &&
+       git checkout main &&
        echo uno >rep/one &&
        echo dos >rep/two &&
        test_must_fail git checkout branch 2>out &&
@@ -131,7 +131,7 @@ test_expect_success 'not_uptodate_dir porcelain checkout error' '
        >rep2 &&
        git add rep rep2 &&
        git commit -m "added test as a file" &&
-       git checkout master &&
+       git checkout main &&
        >rep/untracked-file &&
        >rep2/untracked-file &&
        test_must_fail git checkout branch 2>out &&