aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorJack Nagel2012-10-15 00:55:21 -0500
committerJack Nagel2012-10-15 15:29:23 -0500
commit799c164cd94c9790536fe189f57bd0d107cf2689 (patch)
tree2148b528827eefa7345705aa4624467d082d702c /Library
parenta0e575e5b63193f3af6f1a45cc7a47f006f5779b (diff)
downloadbrew-799c164cd94c9790536fe189f57bd0d107cf2689.tar.bz2
GitDownloadStrategy: silence checkout actions in non-verbose mode
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/download_strategy.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/Library/Homebrew/download_strategy.rb b/Library/Homebrew/download_strategy.rb
index 17ee4e511..7504eeb37 100644
--- a/Library/Homebrew/download_strategy.rb
+++ b/Library/Homebrew/download_strategy.rb
@@ -376,9 +376,9 @@ class GitDownloadStrategy < AbstractDownloadStrategy
ohai "Checking out #{@spec} #{@ref}"
case @spec
when :branch
- nostdout { quiet_safe_system @@git, 'checkout', "origin/#{@ref}", '--' }
+ nostdout { quiet_safe_system @@git, 'checkout', { :quiet_flag => '-q' }, "origin/#{@ref}", '--' }
when :tag, :revision
- nostdout { quiet_safe_system @@git, 'checkout', @ref, '--' }
+ nostdout { quiet_safe_system @@git, 'checkout', { :quiet_flag => '-q' }, @ref, '--' }
end
else
# otherwise the checkout-index won't checkout HEAD