]> git.ipfire.org Git - thirdparty/git.git/blobdiff - t/t6111-rev-list-treesame.sh
t6[0-3]*: adjust the references to the default branch name "main"
[thirdparty/git.git] / t / t6111-rev-list-treesame.sh
index 58b8d42bf3d1c06a6469ae7fafd5eaaae86b0795..e07b6070e0e7a546118c2f4744b9ab4e9faeff9a 100755 (executable)
@@ -13,7 +13,7 @@
 
 test_description='TREESAME and limiting'
 
-GIT_TEST_DEFAULT_INITIAL_BRANCH_NAME=master
+GIT_TEST_DEFAULT_INITIAL_BRANCH_NAME=main
 export GIT_TEST_DEFAULT_INITIAL_BRANCH_NAME
 
 . ./test-lib.sh
@@ -36,13 +36,13 @@ test_expect_success setup '
        git checkout other-branch &&
        test_commit "Added other" other "Hello" C &&
 
-       git checkout master &&
+       git checkout main &&
        test_merge D other-branch &&
 
        git checkout third-branch &&
        test_commit "Third file" third "Nothing" E &&
 
-       git checkout master &&
+       git checkout main &&
        test_commit "file=Blah" file "Blah" F &&
 
        test_tick && git merge --no-commit third-branch &&
@@ -59,7 +59,7 @@ test_expect_success setup '
 
        test_tick && git revert I && note J &&
 
-       git checkout master &&
+       git checkout main &&
        test_tick && git merge --no-ff fiddler-branch &&
        note K &&