Remove obsolete 'slogin'
[msysgit.git] / git-cmd.bat
blobf7d9a1b48784657d980a0a9b2a009f748055f61d
1 @rem Do not use "echo off" to not affect any child calls.\r
2 @setlocal\r
3 \r
4 @rem Get the absolute path to the current directory, which is assumed to be the\r
5 @rem Git installation root.\r
6 @for /F "delims=" %%I in ("%~dp0") do @set git_install_root=%%~fI\r
7 @set PATH=%git_install_root%\bin;%git_install_root%\mingw\bin;%git_install_root%\cmd;%PATH%\r
8 \r
9 @if not exist "%HOME%" @set HOME=%HOMEDRIVE%%HOMEPATH%\r
10 @if not exist "%HOME%" @set HOME=%USERPROFILE%\r
12 @set PLINK_PROTOCOL=ssh\r
13 @if not defined TERM set TERM=msys\r
15 @cd /d %HOME%\r
16 @start %COMSPEC%\r