]> git.ipfire.org Git - thirdparty/git.git/blobdiff - t/t6008-rev-list-submodule.sh
Merge branch 'js/range-diff-wo-dotdot'
[thirdparty/git.git] / t / t6008-rev-list-submodule.sh
index c4af9ca0a7edf6230dc6ca8ec10848545971fce7..3153a0d891046421f53ea6543182c47ca750e07a 100755 (executable)
@@ -5,6 +5,9 @@
 
 test_description='git rev-list involving submodules that this repo has'
 
+GIT_TEST_DEFAULT_INITIAL_BRANCH_NAME=main
+export GIT_TEST_DEFAULT_INITIAL_BRANCH_NAME
+
 . ./test-lib.sh
 
 test_expect_success 'setup' '
@@ -36,7 +39,7 @@ test_expect_success 'setup' '
 '
 
 test_expect_success "Ilari's test" '
-       git rev-list --objects super master ^super^
+       git rev-list --objects super main ^super^
 '
 
 test_done