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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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
-- 
gitgitgadget



[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux