> Would that not turn on command echoing for wrapper scripts that previously
disabled it?
Yes it would. It is best of course to code git.cmd such that it preserves
echo state, but i just don't know how to do it properly.


On Tue, Jun 24, 2008 at 8:47 AM, Jurko Gospodnetić <
[EMAIL PROTECTED]> wrote:

>
>  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ć
>
>


-- 
Roman Terekhov

Reply via email to