For git.exe alone, use the same HOME directory fallback mechanism as /etc/profile#322
For git.exe alone, use the same HOME directory fallback mechanism as /etc/profile#322dscho merged 1 commit intomsysgit:maint-1.9from linquize:win-home
Conversation
|
MSysGit - the development behind Git for Windows » git #264 SUCCESS |
|
Changed to use |
|
Thank you so much! My only remaining request is to adjust the commit message a bit. The idea is that we contribute all of the modifications of the Git source code to upstream, eventually, therefore it would be good to abide by their rules. Would you please prefix the patch by |
|
MSysGit - the development behind Git for Windows » git #266 SUCCESS |
This allows git executable using the fallback mechanism to work outside Git Bash. On Windows, $HOME is usually not set. If $HOME not exist, try $HOMEDRIVE/$HOMEPATH. If still not exist, try $USERPROFILE. Signed-off-by: Lin Qiu Ze <linquize@yahoo.com.hk>
|
Commit message updated. |
|
MSysGit - the development behind Git for Windows » git #267 FAILURE |
For git.exe alone, use the same HOME directory fallback mechanism as /etc/profile
|
Thank you so much! |
|
Good intentions - unfortunately, you've based your change on code that is not in the master branch. Rather than fixing any of the pre-existing issues with
To set "HOME" in git, I would have expected something like this on master: [1] https://groups.google.com/forum/#!topic/msysgit/wmyWC6M2hl4 |
For git.exe alone, use the same HOME directory fallback mechanism as /etc/profile
This allows the fallback mechanism to work outside Git Bash.