Re: [PATCH v2 3/4] t9902: switch default branch name to main

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 04/09/2025 19:27, Junio C Hamano wrote:
Phillip Wood <phillip.wood123@xxxxxxxxx> writes:

From: Phillip Wood <phillip.wood@xxxxxxxxxxxxx>

Remove the penultimate use of "GIT_TEST_DEFAULT_INITIAL_BRANCH_NAME=
main" in our test suite. We have slowly been removing these ever since

s|main|master|, probably?

Oops, yes

Thanks

Phillip
we started to switch the default branch name used in tests to "main".

Signed-off-by: Phillip Wood <phillip.wood@xxxxxxxxxxxxx>
---
  t/t9902-completion.sh | 6 +++---
  1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/t/t9902-completion.sh b/t/t9902-completion.sh
index 6650d33fba6..964e1f15693 100755
--- a/t/t9902-completion.sh
+++ b/t/t9902-completion.sh
@@ -11,9 +11,9 @@ test_description='test bash completion'
  # untraceable with such ancient Bash versions.
  test_untraceable=UnfortunatelyYes
-# Override environment and always use master for the default initial branch
+# Override environment and always use main for the default initial branch
  # name for these tests, so that rev completion candidates are as expected.
-GIT_TEST_DEFAULT_INITIAL_BRANCH_NAME=master
+GIT_TEST_DEFAULT_INITIAL_BRANCH_NAME=main
  export GIT_TEST_DEFAULT_INITIAL_BRANCH_NAME
. ./lib-bash.sh
@@ -1453,7 +1453,7 @@ test_expect_success 'git bisect - start subcommand arguments before double-dash
  		HEAD Z
  		final Z
  		initial Z
-		master Z
+		main Z
  		EOF
  	)
  '





[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux