Fix msysGit Portable $HOME location

The command used to launch git bash is: C:\Windows\SysWOW64\cmd.exe /c “”C:\Prog\Git\1.7.1\bin\sh.exe” –login -i” I just tried the following in a DOS session: C:\>C:\Windows\SysWOW64\cmd.exe /c “”C:\Prog\Git\1.7.1\bin\sh.exe” –login -i” VonC@XXX /c/ $ echo $HOME /c/Users/VonC By default, $HOME$%HOMEPATH%, but if I force %HOME%: set HOME=/another/path and then launch the same bash session: C:\>C:\Windows\SysWOW64\cmd.exe /c “”C:\Prog\Git\1.7.1\bin\sh.exe” –login -i” … Read more