diff options
| author | Jack Nagel | 2012-10-15 00:53:15 -0500 |
|---|---|---|
| committer | Jack Nagel | 2012-10-15 15:29:23 -0500 |
| commit | b75e31e0c8e5b0c7df85813c4c7097417967d6ce (patch) | |
| tree | 4ef6d0ab20d22122f0b0f77120c89a4723dd5cf2 /Library | |
| parent | cc0206dfa4339cd6e7d583cb6ddec9b0b23b6992 (diff) | |
| download | homebrew-b75e31e0c8e5b0c7df85813c4c7097417967d6ce.tar.bz2 | |
GitDownloadStrategy: silence status check
"git status -s" is used to detect if the repository was corrupted during
an interrupted clone, but it can leak output to the terminal, so use
quiet_system.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Homebrew/download_strategy.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/download_strategy.rb b/Library/Homebrew/download_strategy.rb index 6271ff34c..17ee4e511 100644 --- a/Library/Homebrew/download_strategy.rb +++ b/Library/Homebrew/download_strategy.rb @@ -333,7 +333,7 @@ class GitDownloadStrategy < AbstractDownloadStrategy if @clone.exist? Dir.chdir(@clone) do # Check for interupted clone from a previous install - unless system @@git, 'status', '-s' + unless quiet_system @@git, 'status', '-s' puts "Removing invalid .git repo from cache" FileUtils.rm_rf @clone end |
