Skip to content

Commit

Permalink
initial-branch
Browse files Browse the repository at this point in the history
  • Loading branch information
makelinux committed Mar 18, 2023
1 parent 75b7265 commit fa6ebbd
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions git-m-test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,8 @@ import-test()

compare-test()
{
git init git-second-tmp > /dev/null
(cd git-second-tmp; git commit --allow-empty -m empty; git checkout --detach; git branch -d master)
git init --initial-branch=main git-second-tmp > /dev/null
(cd git-second-tmp; git commit --allow-empty -m empty; git checkout --detach; git branch -d main)

../git-m --compare
check '../git-m --compare --csv | grep -q "git-second-tmp.*undesired"'
Expand Down Expand Up @@ -84,7 +84,7 @@ check ./git-m || exit

git clone -q [email protected]:makelinux/gitm.git gitm-tmp
\cp -a gitm-tmp gitm-tmp2
git init standalone-empty-tmp > /dev/null
git init --initial-branch=main standalone-empty-tmp > /dev/null

export-test

Expand Down

0 comments on commit fa6ebbd

Please sign in to comment.