aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorJack Nagel2013-02-14 17:29:59 -0600
committerJack Nagel2013-02-14 17:29:59 -0600
commitcedca232c27b60313f5f1ff317f605893019933d (patch)
treed2852e4479d097822d970ff32108462a916b479e /Library
parent5bc5bd288c0fa63ee26070101f80110fb6fc7ab0 (diff)
downloadhomebrew-cedca232c27b60313f5f1ff317f605893019933d.tar.bz2
GitDownloadStrategy: quiet reset in non-verbose mode
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 90f2fe94a..05937b165 100644
--- a/Library/Homebrew/download_strategy.rb
+++ b/Library/Homebrew/download_strategy.rb
@@ -342,7 +342,7 @@ class GitDownloadStrategy < AbstractDownloadStrategy
# otherwise the checkout-index won't checkout HEAD
# https://github.com/mxcl/homebrew/issues/7124
# must specify origin/HEAD, otherwise it resets to the current local HEAD
- quiet_safe_system @@git, "reset", "--hard", "origin/HEAD"
+ quiet_safe_system @@git, "reset", { :quiet_flag => "-q" }, "--hard", "origin/HEAD"
end
# http://stackoverflow.com/questions/160608/how-to-do-a-git-export-like-svn-export
safe_system @@git, 'checkout-index', '-a', '-f', "--prefix=#{dst}/"