Skip to content

Make t5526 independent of the default branch name

Johannes Schindelin via GitGitGadget git 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2t5526: avoid depending on a specific default branch namet/t5526-fetch-submodules.sh+22 -190 replies
2/2t5526: drop the prereq expecting the default branch name `main`t/t5526-fetch-submodules.sh+21 -210 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

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

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

Signature · 1 line
gitgitgadget