Skip to content

Commit 4b7f6a4

Browse files
committed
Fix git bundle test re: main branch
1 parent 9f9bf6c commit 4b7f6a4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

features/steps.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@
6161

6262
Dir.mktmpdir do |tmpdir|
6363
Dir.chdir(tmpdir) do
64-
`git init --quiet`
64+
`git -c init.defaultBranch=master init --quiet`
6565
`GIT_COMMITTER_NAME=a GIT_COMMITTER_EMAIL=b git commit --quiet -m 'empty' --allow-empty --author='a <b>'`
6666
`git bundle create "#{dest}" master 2>&1`
6767
end

0 commit comments

Comments
 (0)