t5505: finalize transitioning to using the branch name `main`
authorJohannes Schindelin <johannes.schindelin@gmx.de>
Thu, 17 Dec 2020 01:07:05 +0000 (01:07 +0000)
committerJunio C Hamano <gitster@pobox.com>
Thu, 17 Dec 2020 01:41:41 +0000 (17:41 -0800)
commit97b913681b361ed072494e2f03c10ea4e4750cfb
tree8e426610eb66252e74f2be3ac81e1791b24c9da1
parent654bd7e8a9d0478f8df2d195daf5b4b5d99ff92f
t5505: finalize transitioning to using the branch name `main`

In 66713e84e71 (tests: prepare aligned mentions of the default branch
name, 2020-10-23), we started that transition, trying to prepare for a
time when `git init` would use that name for the initial branch.

Even if that time has not arrived, we can complete the transition by
making the test script independent of the default branch name. This also
allows us to drop the `PREPARE_FOR_MAIN_BRANCH` prereq from four test
cases.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t5505-remote.sh