Wrong Global git configuration location when %HOMEDRIVE%\%HOMEPATH% and %USERPROFILE% differs
git.exe uses %USERPROFILE%
TortoiseGit uses %HOMEDRIVE%%HOMEPATH%
What steps will reproduce the problem?
- start cmd.exe
- set HOMEDRIVE=D:
- git config --list --show-origin
- "%ProgramFiles%\TortoiseGit\bin\TortoiseGitProc.exe" /command:settings
- edit Global .gitconfig
What version of TortoiseGit and Git are you using? On what operating system?
Git 2.10.0
TGit 2.3.0