Martin Afanasjew 
							
						 
					 
					
						
						
						
						
							
						
						
							324a34d8ea 
							
						 
					 
					
						
						
							
							utils/git: provide git_path and git_version  
						
						
						
						
					 
					
						2016-06-19 22:12:34 +02:00 
						 
				 
			
				
					
						
							
							
								Xu Cheng 
							
						 
					 
					
						
						
						
						
							
						
						
							5560f5550d 
							
						 
					 
					
						
						
							
							git: check homebrew/core existence before installing brewed git  
						
						
						
						
					 
					
						2016-04-02 21:51:36 +08:00 
						 
				 
			
				
					
						
							
							
								Xu Cheng 
							
						 
					 
					
						
						
						
						
							
						
						
							e0e277ecde 
							
						 
					 
					
						
						
							
							utils/git: various improvement  
						
						... 
						
						
						
						* Use `ENV/scm/git` to check whether git is installed.
* Use `brew install git` to enforce pre-install checks such as sudo
  check. 
						
						
					 
					
						2016-03-21 19:07:38 +08:00 
						 
				 
			
				
					
						
							
							
								Xu Cheng 
							
						 
					 
					
						
						
						
						
							
						
						
							3638c057f0 
							
						 
					 
					
						
						
							
							FormulaInstaller: reset git_available? when installing git  
						
						... 
						
						
						
						Closes  Homebrew/homebrew#43693 
Signed-off-by: Xu Cheng <xucheng@me.com> 
					
						2015-09-09 12:22:03 +08:00 
						 
				 
			
				
					
						
							
							
								Xu Cheng 
							
						 
					 
					
						
						
						
						
							
						
						
							c8efb05826 
							
						 
					 
					
						
						
							
							doctor: use Utils.git_available? instead of git?  
						
						
						
						
					 
					
						2015-09-09 12:21:08 +08:00 
						 
				 
			
				
					
						
							
							
								Xu Cheng 
							
						 
					 
					
						
						
						
						
							
						
						
							4529df1246 
							
						 
					 
					
						
						
							
							git_available?: cache the result  
						
						
						
						
					 
					
						2015-09-09 12:19:16 +08:00 
						 
				 
			
				
					
						
							
							
								Xu Cheng 
							
						 
					 
					
						
						
						
						
							
						
						
							71f794260b 
							
						 
					 
					
						
						
							
							add git utils  
						
						... 
						
						
						
						Two methods:
* `Utils.git_available?` checks whether git is installed.
* `Utils.ensure_git_installed!` installs git for users who don't install
  Xcode or CLT. 
						
						
					 
					
						2015-09-02 15:24:52 +08:00