t4*: adjust the references to the default branch name "main"
authorJohannes Schindelin <johannes.schindelin@gmx.de>
Wed, 18 Nov 2020 23:44:27 +0000 (23:44 +0000)
committerJunio C Hamano <gitster@pobox.com>
Thu, 19 Nov 2020 23:44:18 +0000 (15:44 -0800)
commit8f37854b187a4539dd37752b2631849c94bd627b
treeb57147cbdc2774ace04b7ea1f648900a6d59b08f
parentcbc75a12f056c9e6eef30b92db2dc0ce99e97dbe
t4*: adjust the references to the default branch name "main"

Carefully excluding t4013 and t4015, which see independent development
elsewhere at the time of writing, we use `main` as the default branch
name in t4*. This trick was performed via

$ (cd t &&
   sed -i -e 's/master/main/g' -e 's/MASTER/MAIN/g' \
-e 's/Master/Main/g' -- t4*.sh t4211/*.export &&
   git checkout HEAD -- t4013\*)

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>
29 files changed:
t/t4014-format-patch.sh
t/t4017-diff-retval.sh
t/t4038-diff-combined.sh
t/t4041-diff-submodule-option.sh
t/t4048-diff-combined-binary.sh
t/t4052-stat-output.sh
t/t4056-diff-order.sh
t/t4057-diff-combined-paths.sh
t/t4061-diff-indent.sh
t/t4066-diff-emit-delay.sh
t/t4068-diff-symmetric-merge-base.sh
t/t4103-apply-binary.sh
t/t4108-apply-threeway.sh
t/t4121-apply-diffs.sh
t/t4122-apply-symlink-inside.sh
t/t4150-am.sh
t/t4200-rerere.sh
t/t4201-shortlog.sh
t/t4202-log.sh
t/t4203-mailmap.sh
t/t4204-patch-id.sh
t/t4207-log-decoration-colors.sh
t/t4208-log-magic-pathspec.sh
t/t4211-line-log.sh
t/t4211/history.export
t/t4214-log-graph-octopus.sh
t/t4216-log-bloom.sh
t/t4253-am-keep-cr-dos.sh
t/t4257-am-interactive.sh