Be verbose with git clones
It has useful progress information and is about 5 lines of text.
This commit is contained in:
		
							parent
							
								
									3930361bb2
								
							
						
					
					
						commit
						4b2e24ffcc
					
				@ -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 }
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user