mbox series

[0/2] Make t5526 independent of the default branch name

Message ID pull.806.git.1607092462.gitgitgadget@gmail.com (mailing list archive)
Headers show
Series Make t5526 independent of the default branch name | expand

Message

Philippe Blain via GitGitGadget Dec. 4, 2020, 2:34 p.m. UTC
Quite a few test cases in t5526 were marked with the PREPARE_FOR_MAIN_BRANCH 
prerequisite, in preparation for changing the fall-back of 
init.defaultBranch to main. However, in the meantime concerns were raised
that I moved too fast on this.

As a consequence, t5526 is largely inactive.

This patch series addresses that by overriding the initial branch names
explicitly in t5526, and then removing the no-longer-needed prerequisite.
With this, we have full test coverage in t5526 again, no matter how long the
effort to rename the default branch name will take.

Johannes Schindelin (2):
  t5526: avoid depending on a specific default branch name
  t5526: drop the prereq expecting the default branch name `main`

 t/t5526-fetch-submodules.sh | 83 +++++++++++++++++++------------------
 1 file changed, 43 insertions(+), 40 deletions(-)


base-commit: fbc64c5ab5e1e73a56689d2270e7f27ab7cb29c1
Published-As: https://github.com/gitgitgadget/git/releases/tag/pr-806%2Fdscho%2Ft5526-and-the-default-branch-name-v1
Fetch-It-Via: git fetch https://github.com/gitgitgadget/git pr-806/dscho/t5526-and-the-default-branch-name-v1
Pull-Request: https://github.com/gitgitgadget/git/pull/806

Comments

Junio C Hamano Dec. 4, 2020, 8:04 p.m. UTC | #1
"Johannes Schindelin via GitGitGadget" <gitgitgadget@gmail.com>
writes:

> This patch series addresses that by overriding the initial branch names
> explicitly in t5526, and then removing the no-longer-needed prerequisite.

Nice.

Will queue; thanks.