t9902: switch default branch name to main

Remove the penultimate use of "GIT_TEST_DEFAULT_INITIAL_BRANCH_NAME= master" in our test suite. We have slowly been removing these ever since we started to switch the default branch name used in tests to "main". Signed-off-by: Phillip Wood <phillip.wood@dunelm.org.uk> Signed-off-by: Junio C Hamano <gitster@pobox.com>

Phillip Wood committed Sep 10, 2025 at 16:29 UTC 3d6e7ec4c138f027486d51e949573659d592ff9a
1 file changed +3 -3
t/t9902-completion.sh
+3 -3
@@ -11,9 +11,9 @@ test_description='test bash completion'
11 # untraceable with such ancient Bash versions.
12 test_untraceable=UnfortunatelyYes
13
14 -# Override environment and always use master for the default initial branch
14 +# Override environment and always use main for the default initial branch
15 # name for these tests, so that rev completion candidates are as expected.
16 -GIT_TEST_DEFAULT_INITIAL_BRANCH_NAME=master
16 +GIT_TEST_DEFAULT_INITIAL_BRANCH_NAME=main
17 export GIT_TEST_DEFAULT_INITIAL_BRANCH_NAME
18
19 . ./lib-bash.sh
@@ -1453,7 +1453,7 @@ test_expect_success 'git bisect - start subcommand arguments before double-dash
1453 HEAD Z
1454 final Z
1455 initial Z
1456 - master Z
1456 + main Z
1457 EOF
1458 )
1459 '