t3[0-3]*: adjust the references to the default branch name "main"
authorJohannes Schindelin <johannes.schindelin@gmx.de>
Wed, 18 Nov 2020 23:44:23 +0000 (23:44 +0000)
committerJunio C Hamano <gitster@pobox.com>
Thu, 19 Nov 2020 23:44:18 +0000 (15:44 -0800)
commitd6c6b10817409ed93d3c1f65b3d0d2b0875165d4
tree5a9990c3ab13c2a91abc705199c79f1ec030690d
parent883b98efade212bf1496a93dd8a691355a31daf0
t3[0-3]*: adjust the references to the default branch name "main"

Carefully excluding t3040, which sees independent development elsewhere
at the time of writing, we transition above-mentioned tests to the
default branch name `main`. This trick was performed via

$ (cd t &&
   sed -i -e 's/master/main/g' -e 's/MASTER/MAIN/g' \
-e 's/Master/Main/g' -- t3[0-3]*.sh t3206/* &&
   git checkout HEAD -- t3040\*)

This allows us to define `GIT_TEST_DEFAULT_INITIAL_BRANCH_NAME=main`
for those tests.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
16 files changed:
t/t3200-branch.sh
t/t3201-branch-contains.sh
t/t3202-show-branch-octopus.sh
t/t3203-branch-output.sh
t/t3204-branch-name-interpretation.sh
t/t3205-branch-color.sh
t/t3206-range-diff.sh
t/t3206/history.export
t/t3210-pack-refs.sh
t/t3211-peel-ref.sh
t/t3301-notes.sh
t/t3302-notes-index-expensive.sh
t/t3303-notes-subtrees.sh
t/t3304-notes-mixed.sh
t/t3308-notes-merge.sh
t/t3320-notes-merge-worktrees.sh