diff options
| author | Jack Nagel | 2012-10-15 00:55:21 -0500 |
|---|---|---|
| committer | Jack Nagel | 2012-10-15 15:29:23 -0500 |
| commit | 4100fc549d44f6c91addcce12401ede408f77ce3 (patch) | |
| tree | 6859c4a2d7d1901e6f7bb39ba441172c424a94a1 /Library | |
| parent | b75e31e0c8e5b0c7df85813c4c7097417967d6ce (diff) | |
| download | homebrew-4100fc549d44f6c91addcce12401ede408f77ce3.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 |
