download_strategy: silence detached head warning
This commit is contained in:
parent
7bd2f511c4
commit
fcf47b4f84
@ -757,6 +757,7 @@ class GitDownloadStrategy < VCSDownloadStrategy
|
||||
case @ref_type
|
||||
when :branch, :tag
|
||||
args << "--branch" << @ref
|
||||
args << "-c" << "advice.detachedHead=false" # silences detached head warning
|
||||
end
|
||||
|
||||
args << @url << cached_location
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user