It could be good to insert: @echo on at the end of the git.cmd file.
This will make the git.cmd transparent when it is used in batch scripts.

The file could look like this:

@echo off
setlocal
for /F "delims=" %%I in ("%~dp0..") do set
path=%%~fI\bin;%%~fI\mingw\bin;%PATH%
if "%HOME%"=="" set HOME=%USERPROFILE%
git.exe %*
@echo on
@exit /b %ErrorLevel%


-- 
Roman Terekhov

Reply via email to