Skip to content

Commit 585c756

Browse files
committed
Suppress default branch name hint in spec runner clone
1 parent 4caaeca commit 585c756

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/huginn_agent/spec_runner.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ def initialize
1111

1212
def clone
1313
unless File.exist?('spec/huginn/.git')
14-
shell_out "git clone --depth 1 #{HuginnAgent.remote} -b #{HuginnAgent.branch} spec/huginn", 'Cloning huginn source ...'
14+
shell_out "git -c advice.defaultBranchName=false clone --depth 1 #{HuginnAgent.remote} -b #{HuginnAgent.branch} spec/huginn", 'Cloning huginn source ...'
1515
end
1616
end
1717

0 commit comments

Comments
 (0)