From 166e262312d24ddd619856ec36792c78093d55f5 Mon Sep 17 00:00:00 2001 From: Jack Nagel Date: Thu, 14 Feb 2013 17:29:59 -0600 Subject: [PATCH] GitDownloadStrategy: quiet reset in non-verbose mode --- Library/Homebrew/download_strategy.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Library/Homebrew/download_strategy.rb b/Library/Homebrew/download_strategy.rb index 90f2fe94a8..05937b1656 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}/"