|
|
Re: How to change the location of the system configuration file? [message #753720 is a reply to message #752681] |
Fri, 28 October 2011 13:45 |
|
Am 26.10.2011 15:32, schrieb Matthias Sohn:
> AFAIK newer Windows versions are protecting files under "Program Files" so you need administrative privileges to
> change them and AFAIK there is no way to sudo from a Java application.
> JGit tries to use the same location used by native git, in order to detect that it searches for git in the PATH. On my
> Mac this e.g. points at /usr/local/git. The system configuration is then stored in the etc folder under this path.
> This means there are the following ways how you can resolve this configuration problem
> - modify the system configuration using a native editor started with administrative privileges
> - modify the user configuration in your home directory instead
Thanks for your explanations. I think I'll go this route.
> - install native git into a not protected folder
> - manually override the path to the git installation folder by setting the Java system property "jgit.gitprefix" to
> the path you want. But: this may lead to inconsistent behavior as this way native git might see a different
> configuration than EGit/JGit.
>
> Unfortunately this probably will not solve your original problem as JGit doesn't yet fully support autocrlf [1].
>
> [1] https://bugs.eclipse.org/bugs/show_bug.cgi?id=301775
Okay, it seems as if there's some progress. When the fix is on the nightly site, will we have to create new clones?
Cheers
/Eike
----
http://www.esc-net.de
http://thegordian.blogspot.com
http://twitter.com/eikestepper
Cheers
/Eike
----
http://www.esc-net.de
http://thegordian.blogspot.com
http://twitter.com/eikestepper
|
|
|
|
Powered by
FUDForum. Page generated in 0.02962 seconds