]> git.ipfire.org Git - thirdparty/git.git/blobdiff - t/t6016-rev-list-graph-simplify-history.sh
Merge branch 'js/default-branch-name-tests-final-stretch'
[thirdparty/git.git] / t / t6016-rev-list-graph-simplify-history.sh
index f79df8b6d197f98094d1e5c16d110f52ad285ea2..54b0a6f5f8a4b2996bd49ab3251837967f8fd57a 100755 (executable)
@@ -7,6 +7,9 @@
 
 test_description='--graph and simplified history'
 
+GIT_TEST_DEFAULT_INITIAL_BRANCH_NAME=main
+export GIT_TEST_DEFAULT_INITIAL_BRANCH_NAME
+
 . ./test-lib.sh
 . "$TEST_DIRECTORY"/lib-log-graph.sh
 
@@ -20,7 +23,7 @@ test_expect_success 'set up rev-list --graph test' '
        test_commit A1 foo.txt &&
        test_commit A2 bar.txt &&
        test_commit A3 bar.txt &&
-       git branch -m master A &&
+       git branch -m main A &&
 
        # 2 commits on branch B, started from A1
        git checkout -b B A1 &&