From 4100fc549d44f6c91addcce12401ede408f77ce3 Mon Sep 17 00:00:00 2001 From: Jack Nagel Date: Mon, 15 Oct 2012 00:55:21 -0500 Subject: GitDownloadStrategy: silence checkout actions in non-verbose mode Signed-off-by: Jack Nagel --- Library/Homebrew/download_strategy.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Library') 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 -- cgit v1.2.3