*: rename master branch to main

This commit is contained in:
Timothée Ravier committed 2021-05-07 16:55:03 +02:00
1 parent 135675243a
commit b8cca6cef1
14 files changed
+35 -35

No files matched your search

+1 -1
View File
@@ -40,7 +40,7 @@ gitdir=$(realpath $(pwd))
# require a newer git, we could use `git worktree`.
cp -a ${gitdir} ${tmpd}/workdir
cd ${tmpd}/workdir
git log --pretty=oneline origin/master..$HEAD | while read logline; do
git log --pretty=oneline origin/main..$HEAD | while read logline; do
commit=$(echo ${logline} | cut -f 1 -d ' ')
# For merge commits, just check that they're empty (i.e. no conflict
# resolution was needed). Otherwise, let's just error out. Conflicts should