t5526: avoid depending on a specific default branch name
authorJohannes Schindelin <johannes.schindelin@gmx.de>
Fri, 4 Dec 2020 14:34:21 +0000 (14:34 +0000)
committerJunio C Hamano <gitster@pobox.com>
Fri, 4 Dec 2020 20:05:18 +0000 (12:05 -0800)
commitb618a2d9dfdbcd333e4a1ef2b1d4894109c985b0
tree66a5c3a093a21156375c674dc83b5b518eb21ece
parent3a0b884caba2752da0af626fb2de7d597c844e8b
t5526: avoid depending on a specific default branch name

While at it, use different default branch names for the three different
repositories involved in the test script: this makes it easier to debug
failures, too (otherwise you have to wonder which `master` branch was
meant: the super project's? The submodule's? The nested submodule's?).

Note: this touches code that was originally modified to prepare for
renaming the default branch name to `main`. This patch side-steps that
effort completely by overriding the initial branch name explicitly.

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