diff options
| author | Jack Nagel | 2013-02-17 15:54:22 -0600 |
|---|---|---|
| committer | Jack Nagel | 2013-02-17 15:54:22 -0600 |
| commit | 528072f7d7c622efba30ea47f3846b9747608cdf (patch) | |
| tree | a920675df74b8bf7b30ed7213e7444b21b92c0e8 /Library | |
| parent | 6d1c6dcdeae8eb90d5679faa53c82dcc1574d017 (diff) | |
| download | brew-528072f7d7c622efba30ea47f3846b9747608cdf.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.rb | 2 |
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 |
