[428840] [Oomph] User authentication fails for ssh with public key
https://bugs.eclipse.org/bugs/show_bug.cgi?id=428840

Instead of starting egit.core, we start egit.ui so that the credentials
provider gets registered.

Change-Id: I2b02442d3a25c5a11b2d18f8d89f942dbc97d9da
Signed-off-by: Stefan Winkler <stefan@winklerweb.net>
diff --git a/plugins/org.eclipse.emf.cdo.releng.setup/src/org/eclipse/emf/cdo/releng/setup/impl/GitCloneTaskImpl.java b/plugins/org.eclipse.emf.cdo.releng.setup/src/org/eclipse/emf/cdo/releng/setup/impl/GitCloneTaskImpl.java
index 1929d8e..d6342ea 100644
--- a/plugins/org.eclipse.emf.cdo.releng.setup/src/org/eclipse/emf/cdo/releng/setup/impl/GitCloneTaskImpl.java
+++ b/plugins/org.eclipse.emf.cdo.releng.setup/src/org/eclipse/emf/cdo/releng/setup/impl/GitCloneTaskImpl.java
@@ -687,10 +687,10 @@
       try
       {
         // Force start egit to make sure we get the association
-        Bundle egitCore = Platform.getBundle("org.eclipse.egit.core");
-        if (egitCore != null)
+        Bundle egitUI = Platform.getBundle("org.eclipse.egit.ui");
+        if (egitUI != null)
         {
-          egitCore.start();
+          egitUI.start();
         }
 
         String checkoutBranch = impl.getCheckoutBranch();