Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » EGit » How to change "Location" for "User Settings"
How to change "Location" for "User Settings" [message #1188634] Fri, 15 November 2013 13:49 Go to next message
David M. Karr is currently offline David M. Karr
Messages: 350
Registered: July 2009
Senior Member
I noticed that EGit has some odd defaults in my configuration. It set my "Default Repository Folder" and the "Location" in "User Settings" to a folder on a remote network drive. I was able to change the "Default Repository Folder" to something more reasonable, but the "Location" field in "User Settings" is not editable. Why is this not editable in EGit, and how do I change it?
Re: How to change "Location" for "User Settings" [message #1189889 is a reply to message #1188634] Sat, 16 November 2013 04:30 Go to previous messageGo to next message
na na is currently offline na na
Messages: 8
Registered: November 2013
Junior Member
You can indirectly change the location. But you have to create a new environment variable HOME in your environment variables/user variables settings. I'm pretty sure that any git for windows installation (msys), if provided, will read that location too.

[Updated on: Sat, 16 November 2013 04:31]

Report message to a moderator

Re: How to change "Location" for "User Settings" [message #1190685 is a reply to message #1189889] Sat, 16 November 2013 13:50 Go to previous messageGo to next message
David M. Karr is currently offline David M. Karr
Messages: 350
Registered: July 2009
Senior Member
First of all, it makes absolutely no sense that EGit would choose to think that network folder is my default "HOME" directory. There is nothing in my environment variables that even references that location. In any case, it would be extremely inconvenient to set "HOME" to change this, as Cygwin already uses that.
Re: How to change "Location" for "User Settings" [message #1190861 is a reply to message #1190685] Sat, 16 November 2013 15:49 Go to previous message
na na is currently offline na na
Messages: 8
Registered: November 2013
Junior Member
David M. Karr wrote on Sat, 16 November 2013 19:50
First of all, it makes absolutely no sense that EGit would choose to think that network folder is my default "HOME" directory.[...]


EGit implements some fallback strategies if the HOME variable is not set. The path estimation is explained here http://wiki.eclipse.org/EGit/User_Guide#Setting_up_the_Home_Directory_on_Windows. The rules look quite similar to the ones git for windows uses.
Previous Topic:Feature request: menu option for "git status"
Next Topic:Renaming Eclipse project didn't rename folder in local git repo
Goto Forum:
  


Current Time: Thu Jul 24 23:56:29 EDT 2014

Powered by FUDForum. Page generated in 0.05473 seconds