diff options
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Homebrew/download_strategy.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/download_strategy.rb b/Library/Homebrew/download_strategy.rb index deb5d1762..56012e185 100644 --- a/Library/Homebrew/download_strategy.rb +++ b/Library/Homebrew/download_strategy.rb @@ -150,7 +150,7 @@ class GitDownloadStrategy <AbstractDownloadStrategy ohai "Checking out #{@spec} #{@ref}" case @spec when :branch - safe_system 'git', 'checkout', '-b', @ref, "origin/#{@ref}" + safe_system 'git', 'checkout', "origin/#{@ref}" when :tag safe_system 'git', 'checkout', @ref end |
