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
commit166e262312d24ddd619856ec36792c78093d55f5 (patch)
treec6def81411fe0eda75d46784723c873b05d63a63 /Library
parent5f5d6ace5f9df98322499e552c06cb5462f225d2 (diff)
downloadbrew-166e262312d24ddd619856ec36792c78093d55f5.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}/"