http://bugs.winehq.org/show_bug.cgi?id=15359
--- Comment #13 from Dan Kegel dank@kegel.com 2009-12-23 20:42:57 --- For completeness, here's the text of git.cmd:
@set PLINK_PROTOCOL=ssh @setlocal @for /F "delims=" %%I in ("%~dp0..") do @set git_install_root=%%~fI @set path=%git_install_root%\bin;%git_install_root%\mingw\bin;%PATH% @if "%HOME%"=="" @set HOME=%USERPROFILE% @if "%1"=="gui" @goto gui :default @git.exe %* @exit /b %ErrorLevel% :gui @if "%2"=="citool" @goto default @start wish.exe "%git_install_root%\libexec\git-core\git-gui" -- %2 %3 %4 %5 %6 %7 %8 %9