t3201: finalize transitioning to using the branch name `main`
authorJohannes Schindelin <johannes.schindelin@gmx.de>
Thu, 17 Dec 2020 01:07:02 +0000 (01:07 +0000)
committerJunio C Hamano <gitster@pobox.com>
Thu, 17 Dec 2020 01:41:40 +0000 (17:41 -0800)
commit94287e788b3fd4fd4fd019f6642a91ea554a958b
tree6f1e1e0249c29fdac79192e273ad6c36b4b00ce0
parentec9779bcd82be98fbea22f6a6ca03b7bef70d80f
t3201: 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 one test
case.

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