aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorJack Nagel2013-02-17 15:54:22 -0600
committerJack Nagel2013-02-17 15:54:22 -0600
commit14fcf6789543f9e8c3e50bfd7d98c04c2ad1202c (patch)
treefe50bd987520bd62b23554e1134cf437807c5aa8 /Library
parentf65b1714261d8b79fdb2d0d4c89f25057d0ccd39 (diff)
downloadhomebrew-14fcf6789543f9e8c3e50bfd7d98c04c2ad1202c.tar.bz2
GitDownloadStrategy: force checkouts
Local changes to the cached repository should not cause fetch or install to error out.
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/download_strategy.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/download_strategy.rb b/Library/Homebrew/download_strategy.rb
index 25320c004..f814f5d5b 100644
--- a/Library/Homebrew/download_strategy.rb
+++ b/Library/Homebrew/download_strategy.rb
@@ -415,7 +415,7 @@ class GitDownloadStrategy < AbstractDownloadStrategy
else `git symbolic-ref refs/remotes/origin/HEAD`.strip.split("/").last
end
- args = %w{checkout}
+ args = %w{checkout -f}
args << { :quiet_flag => '-q' }
args << ref
end