Hi Roman.

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%

Would that not turn on command echoing for wrapper scripts that previously disabled it?

  Best regards,
    Jurko Gospodnetić

Reply via email to