diff options
| author | Jack Nagel | 2012-10-15 00:55:21 -0500 |
|---|---|---|
| committer | Jack Nagel | 2012-10-15 15:29:23 -0500 |
| commit | 799c164cd94c9790536fe189f57bd0d107cf2689 (patch) | |
| tree | 2148b528827eefa7345705aa4624467d082d702c /Library | |
| parent | a0e575e5b63193f3af6f1a45cc7a47f006f5779b (diff) | |
| download | brew-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.rb | 4 |
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 |
