Skip to content

Commit 3d6e7ec

Browse files
phillipwoodgitster
authored andcommitted
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>
1 parent 877176e commit 3d6e7ec

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

t/t9902-completion.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@ test_description='test bash completion'
1111
# untraceable with such ancient Bash versions.
1212
test_untraceable=UnfortunatelyYes
1313

14-
# Override environment and always use master for the default initial branch
14+
# Override environment and always use main for the default initial branch
1515
# 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
1717
export GIT_TEST_DEFAULT_INITIAL_BRANCH_NAME
1818

1919
. ./lib-bash.sh
@@ -1453,7 +1453,7 @@ test_expect_success 'git bisect - start subcommand arguments before double-dash
14531453
HEAD Z
14541454
final Z
14551455
initial Z
1456-
master Z
1456+
main Z
14571457
EOF
14581458
)
14591459
'

0 commit comments

Comments
 (0)