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 18:49 Go to next message
David M. Karr is currently offline David M. Karr
Messages: 354
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 09: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 09: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 18:50 Go to previous messageGo to next message
David M. Karr is currently offline David M. Karr
Messages: 354
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 20: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 Oct 23 12:38:41 GMT 2014

Powered by FUDForum. Page generated in 0.10950 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software