mirror of
				https://github.com/cmderdev/cmder.git
				synced 2025-11-04 11:22:13 +08:00 
			
		
		
		
	move git functions to git lib
This commit is contained in:
		
							
								
								
									
										2
									
								
								vendor/lib/lib_git.cmd
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								vendor/lib/lib_git.cmd
									
									
									
									
										vendored
									
									
								
							@@ -239,11 +239,9 @@ exit /b
 | 
				
			|||||||
        if %errorlevel% geq 0 if exist "%test_dir:~0,-4%\cmd\git.exe" (
 | 
					        if %errorlevel% geq 0 if exist "%test_dir:~0,-4%\cmd\git.exe" (
 | 
				
			||||||
            set "GIT_INSTALL_ROOT=%test_dir:~0,-4%"
 | 
					            set "GIT_INSTALL_ROOT=%test_dir:~0,-4%"
 | 
				
			||||||
            set test_dir=
 | 
					            set test_dir=
 | 
				
			||||||
            goto :FOUND_GIT
 | 
					 | 
				
			||||||
        ) else if %errorlevel% geq 0 (
 | 
					        ) else if %errorlevel% geq 0 (
 | 
				
			||||||
            set "GIT_INSTALL_ROOT=%test_dir%"
 | 
					            set "GIT_INSTALL_ROOT=%test_dir%"
 | 
				
			||||||
            set test_dir=
 | 
					            set test_dir=
 | 
				
			||||||
            goto :FOUND_GIT
 | 
					 | 
				
			||||||
        ) else (
 | 
					        ) else (
 | 
				
			||||||
            call :verbose_output Found old %GIT_VERSION_USER% in "%test_dir%", but not using...
 | 
					            call :verbose_output Found old %GIT_VERSION_USER% in "%test_dir%", but not using...
 | 
				
			||||||
            set test_dir=
 | 
					            set test_dir=
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user