mirror of
https://github.com/cmderdev/cmder.git
synced 2025-02-10 23:49:07 +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" (
|
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=
|
||||||
|
Loading…
Reference in New Issue
Block a user