]> git.ipfire.org Git - thirdparty/git.git/blobdiff - t/t3415-rebase-autosquash.sh
t34*: adjust the references to the default branch name "main"
[thirdparty/git.git] / t / t3415-rebase-autosquash.sh
index 35eb8e2bb29cd8965e9055e1e29474d16c294cbc..e7087befd4e300edbd9b10d6935befbb1de23cc4 100755 (executable)
@@ -2,7 +2,7 @@
 
 test_description='auto squash'
 
-GIT_TEST_DEFAULT_INITIAL_BRANCH_NAME=master
+GIT_TEST_DEFAULT_INITIAL_BRANCH_NAME=main
 export GIT_TEST_DEFAULT_INITIAL_BRANCH_NAME
 
 . ./test-lib.sh
@@ -410,7 +410,7 @@ test_expect_success 'wrapped original subject' '
 
 test_expect_success 'abort last squash' '
        test_when_finished "test_might_fail git rebase --abort" &&
-       test_when_finished "git checkout master" &&
+       test_when_finished "git checkout main" &&
 
        git checkout -b some-squashes &&
        git commit --allow-empty -m first &&