Be verbose with git clones

It has useful progress information and is about 5 lines of text.
This commit is contained in:
Max Howell 2009-12-19 16:22:21 +00:00
parent 3930361bb2
commit 4b2e24ffcc

View File

@ -160,7 +160,7 @@ class GitDownloadStrategy <AbstractDownloadStrategy
ohai "Cloning #{@url}"
@clone=HOMEBREW_CACHE+@unique_token
unless @clone.exist?
quiet_safe_system 'git', 'clone', @url, @clone
safe_system 'git', 'clone', @url, @clone # indeed, leave it verbose
else
puts "Updating #{@clone}"
Dir.chdir(@clone) { quiet_safe_system 'git', 'fetch', @url }