diff options
author | Johannes Schindelin <johannes.schindelin@gmx.de> | 2020-11-18 23:44:31 +0000 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2020-11-19 15:44:18 -0800 |
commit | 3275f4e886b124b832b8b822c48e3e07b5b143ed (patch) | |
tree | 8c74af5ca53a141f7cffbf2e68773911f27d1a77 /t/t5506-remote-groups.sh | |
parent | t5503: prepare aligned comment for replacing `master` with `main` (diff) | |
download | tgif-3275f4e886b124b832b8b822c48e3e07b5b143ed.tar.xz |
t550*: adjust the references to the default branch name "main"
This trick was performed via
$ (cd t &&
sed -i -e 's/master/main/g' -e 's/MASTER/MAIN/g' \
-e 's/Master/Main/g' -- t550*.sh)
This allows us to define `GIT_TEST_DEFAULT_INITIAL_BRANCH_NAME=main`
for those tests.
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t5506-remote-groups.sh')
-rwxr-xr-x | t/t5506-remote-groups.sh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/t/t5506-remote-groups.sh b/t/t5506-remote-groups.sh index bf3aa85da5..8f150c0793 100755 --- a/t/t5506-remote-groups.sh +++ b/t/t5506-remote-groups.sh @@ -1,7 +1,7 @@ #!/bin/sh test_description='git remote group handling' -GIT_TEST_DEFAULT_INITIAL_BRANCH_NAME=master +GIT_TEST_DEFAULT_INITIAL_BRANCH_NAME=main export GIT_TEST_DEFAULT_INITIAL_BRANCH_NAME . ./test-lib.sh @@ -34,8 +34,8 @@ repo_fetched() { test_expect_success 'setup' ' mkdir one && (cd one && git init) && mkdir two && (cd two && git init) && - git remote add -m master one one && - git remote add -m master two two + git remote add -m main one one && + git remote add -m main two two ' test_expect_success 'no group updates all' ' |