Egit installation path error

Eclipse Kepler 4.3.0.v20130530-1801

Egit Version: 3.0.0.201306101825-r

After starting Eclipse and checking the error log, I get the following warning:

EGit was unable to detect the installation path of "gitPrefix" from native Git. Therefore, EGit cannot respect the Git system level settings, which can be configured in $ {gitPrefix} / etc / gitconfig under the native Git installation directory. The most important of these settings are 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 page under the System Settings tab. This warning can be disabled in the command> Git> Confirmation and Warning Preference Page.

So, do I need an entry in the gitconfig file for core.autocrlf?

+7
eclipse egit
source share
2 answers

Such a warning message seems to be related to this Egit commit .
This post suggests:

Decision:
Go to the Window > Preferences > Team > Git > Configuration > System Settings tab Window > Preferences > Team > Git > Configuration > System Settings Tab Click Browse and find your git installation.
Windows example: C:\Program Files (x86)\Git\etc\gitconfig

+6
source share

I received the same warning from Eclipse on installing the Android SDK on Windows 7. The solution for me was to download Git from git - scm.download/win and install it in the "Program Files (x86) / Git by default" directory . You can then reference this directory by going to Eclipse at:

  • Window β†’ Settings
  • Command -> Git -> Configuration
  • System Preferences Tab
  • Location: C: \ Program Files (x86) \ Git \ etc \ gitconfig

Otherwise, you can ignore the warning if you do not need to install Git.

+2
source share

All Articles