mirror of
https://github.com/cmderdev/cmder.git
synced 2024-11-10 09:49:12 +08:00
move git functions to git lib
This commit is contained in:
parent
93f8718489
commit
1af12666e4
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" (
|
||||
set "GIT_INSTALL_ROOT=%test_dir:~0,-4%"
|
||||
set test_dir=
|
||||
goto :FOUND_GIT
|
||||
) else if %errorlevel% geq 0 (
|
||||
set "GIT_INSTALL_ROOT=%test_dir%"
|
||||
set test_dir=
|
||||
goto :FOUND_GIT
|
||||
) else (
|
||||
call :verbose_output Found old %GIT_VERSION_USER% in "%test_dir%", but not using...
|
||||
set test_dir=
|
||||
|
Loading…
Reference in New Issue
Block a user