After 4.7.3 upgrade, Eclipse thinks my git config is in a different place [message #1784148] |
Thu, 22 March 2018 19:35  |
Eclipse User |
|
|
|
In the past, I've noticed some oddities in the git configuration dialog. I have my .gitconfig in "C:\Users\<myuid>", but I often find eGit thinks it's in "H:\". When I've seen this in the past, I was simply able to change the path in the field to the correct one, and it would be fine for a while.
After the 4.7.3 upgrade, it appears that I can't even change this now.
I do have one environment variable that refers to that location, called "HOMEDRIVE". I find it hard to believe eGit uses that.
How do I get eGit to use the config location that I want?
|
|
|
|
|
|
|
|
Re: After 4.7.3 upgrade, Eclipse thinks my git config is in a different place [message #1784453 is a reply to message #1784316] |
Wed, 28 March 2018 03:33  |
Eclipse User |
|
|
|
I think we should find a solution for JGit which is not Eclipse specific. Which of the environment variables HOME, HOMEDRIVE, HOMEPATH, HOMESHARE are set in your environment and how is the system property user.home set in your eclipse. If the code I attached doesn't find enough info in the listed environment variables it will call FS#userHomeImpl(). And this will use the standard system property "user.home". So maybe setting the system property "user.home" in eclipse.ini is sufficient.
|
|
|
Powered by
FUDForum. Page generated in 0.04238 seconds