summaryrefslogtreecommitdiff
path: root/t/t5411/common-functions.sh
diff options
context:
space:
mode:
authorJohannes Schindelin <johannes.schindelin@gmx.de>2020-10-31 19:46:02 (GMT)
committerJunio C Hamano <gitster@pobox.com>2020-10-31 20:15:17 (GMT)
commita9568dba4177bfe6b75e12a13acd150195e848e0 (patch)
tree518ee6812e8c8672a3f0b2408b916b9e5b118bbd /t/t5411/common-functions.sh
parent8f0a264524d72c6a083b0debcbb1d795a9f4f090 (diff)
downloadgit-a9568dba4177bfe6b75e12a13acd150195e848e0.zip
git-a9568dba4177bfe6b75e12a13acd150195e848e0.tar.gz
git-a9568dba4177bfe6b75e12a13acd150195e848e0.tar.bz2
t5411: adjust the remaining support files for init.defaultBranch=main
This trick was performed via $ sed -i -e 's/master/main/g' -e 's/MASTER/MAIN/g' \ -e 's/Master/Main/g' -- t/t5411/* In the previous commit, we adjusted roughly half of the support files, to stay under the 100kB limit (mails larger than that are rejected by the Git mailing list). Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t5411/common-functions.sh')
-rw-r--r--t/t5411/common-functions.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/t/t5411/common-functions.sh b/t/t5411/common-functions.sh
index 6580beb..521a347 100644
--- a/t/t5411/common-functions.sh
+++ b/t/t5411/common-functions.sh
@@ -28,7 +28,7 @@ create_commits_in () {
shift ||
return 1
done &&
- git -C "$repo" update-ref refs/heads/master $oid
+ git -C "$repo" update-ref refs/heads/main $oid
}
# Format the output of git-push, git-show-ref and other commands to make a