Home > OS >  EGit could not detect where Git is installed warning is coming even we are not use Git in our projec
EGit could not detect where Git is installed warning is coming even we are not use Git in our projec

Time:05-20

We have desktop application which uses eclipse rich client platform(eclipse RCP) and when I run the application it always shows these Egit and home environment warnings even we are not using Git in our project.

I know one solution which requires to install git and configure it in eclipse- RCP get an option in windows-preference-Team- Git- confirmation and warnings from where we can deactivate these warnings.

But why we install Git if we are not using it and why to increase size of desktop application through installing git.

So, my question is how to deactivate these Egit warnings without having Git install?.

CodePudding user response:

EGit is based on JGit and does not required the command line Git installed at all. I guess you talking about this warning that is shown when Git's system-wide settings cannot be found (to warn about possible problems when using both EGit and the Git command line, as they should use the same and not separate system-wide settings).

If so, add the following two lines in your plugin_customization.ini to disable the warning:

org.eclipse.egit.ui/show_home_drive_warning=false
org.eclipse.egit.ui/show_git_prefix_warning=false
  • Related