]> git.ipfire.org Git - thirdparty/git.git/blobdiff - t/t5411/common-functions.sh
t5411: adjust the remaining support files for init.defaultBranch=main
[thirdparty/git.git] / t / t5411 / common-functions.sh
index 6580bebd8e4b81acf1a4410743370b8e62e4911c..521a3477108b9be56ed31f272b46ddcbca1db271 100644 (file)
@@ -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