t9902: use `main` as initial branch name
authorJohannes Schindelin <johannes.schindelin@gmx.de>
Thu, 17 Dec 2020 01:07:09 +0000 (01:07 +0000)
committerJunio C Hamano <gitster@pobox.com>
Thu, 17 Dec 2020 01:41:41 +0000 (17:41 -0800)
commit0007618107627eb5bd616427132424e3bf9642bb
tree3172ec171c483c3b073565c66649952cc39e33f0
parent2dbd00a7a1d625fd5763ea1e774ad62e5de8d7b3
t9902: use `main` as initial branch name

In 8164360fc86 (t9902: prepare a test for the upcoming default branch
name, 2020-10-23), we started adjusting this test script for the default
initial branch name changing to `main`.

However, there is no need to wait for that: let's adjust the test script
to stop relying on a specific initial branch name by setting it
explicitly. This 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/t9902-completion.sh