mirror of
https://github.com/cmderdev/cmder.git
synced 2024-11-10 09:49:12 +08:00
hide possible file write confilct
This commit is contained in:
parent
4378741aad
commit
ea6e18c834
2
vendor/lib/lib_git.cmd
vendored
2
vendor/lib/lib_git.cmd
vendored
@ -49,7 +49,7 @@ exit /b
|
||||
|
||||
:: get the git version in the provided directory
|
||||
|
||||
"%git_executable%" --version > "%temp%\git_version.txt"
|
||||
"%git_executable%" --version 2>nul > "%temp%\git_version.txt"
|
||||
setlocal enabledelayedexpansion
|
||||
for /F "tokens=1,2,3 usebackq" %%A in (`type "%temp%\git_version.txt" 2^>nul`) do (
|
||||
if /i "%%A %%B" == "git version" (
|
||||
|
Loading…
Reference in New Issue
Block a user