Eclipse Kepler 4.3.0.v20130530-1801
Egit version: 3.0.0.201306101825-r
After launching Eclipse and checking the Error Log I have the following warning:
EGit couldn't detect the installation path "gitPrefix" of native Git. Hence EGit can't respect system level Git settings which might be configured in ${gitPrefix}/etc/gitconfig under the native Git installation directory. The most important of these settings is core.autocrlf. Git for Windows by default sets this parameter to true in this system level configuration. The Git installation location can be configured on the Team > Git > Configuration preference page's 'System Settings' tab. This warning can be switched off on the Team > Git > Confirmations and Warnings preference page.
So I need an entry in the file gitconfig for core.autocrlf ?
This kind of warning message seems to be related to this Egit commit.
This post suggests:
Solution:
Go toWindow > Preferences > Team > Git > Configuration > System Settings
Tab
Click onBrowse
and find your git system installation.
Windows example:C:\Program Files (x86)\Git\etc\gitconfig
I was getting the same Warning from Eclipse on an Android SDK installation in Windows 7. The solution for me was to download Git from git-scm.download/win and installing in the default "Program Files (x86)/Git" directory. You can then reference this directory by navigating within Eclipse to:
Otherwise, you can ignore the Warning if you have no need for a Git installation.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With