aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJack Nagel2012-10-15 00:55:21 -0500
committerJack Nagel2012-10-15 15:29:23 -0500
commit4100fc549d44f6c91addcce12401ede408f77ce3 (patch)
tree6859c4a2d7d1901e6f7bb39ba441172c424a94a1
parentb75e31e0c8e5b0c7df85813c4c7097417967d6ce (diff)
downloadhomebrew-4100fc549d44f6c91addcce12401ede408f77ce3.tar.bz2
GitDownloadStrategy: silence checkout actions in non-verbose mode
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
-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