t1400: use `main` as initial branch name
commit35a16dbe329ae5e04ea7005c2220f0e82d8f8c3a
authorJohannes Schindelin <johannes.schindelin@gmx.de>
Thu, 17 Dec 2020 01:07:00 +0000 (17 01:07 +0000)
committerJunio C Hamano <gitster@pobox.com>
Thu, 17 Dec 2020 01:41:40 +0000 (16 17:41 -0800)
treee4e6aa4e450490960f16b2a926d6f5c78290df46
parent1c52ecf4ba0f4f7af72775695fee653f50737c71
t1400: use `main` as initial branch name

In 3224b0f0bb7 (t1400: prepare for `main` being default branch name,
2020-10-23), we prepared t1400 for a time when the default initial
branch name would be `main`.

However, there is no need to wait that long: 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 two test cases.

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