<?xml version="1.0" encoding="UTF-8"?>
<?eclipse version="3.0"?>
<plugin>
   <extension-point id="commitMessageProvider" name="%CommitMessageProviderExtension-point.name" schema="schema/commitMessageProvider.exsd"/>
   <extension-point id="cloneSourceProvider" name="%CloneSourceProviderExtension-point.name" schema="schema/cloneSourceProvider.exsd"/>
   <extension point="org.eclipse.core.runtime.preferences">
      <initializer class="org.eclipse.egit.ui.PluginPreferenceInitializer"/>
   </extension>

   <extension point="org.eclipse.ui.importWizards">
      <category name="%Git_clone_category"
	    id="org.eclipse.egit.ui.internal.clone.gitclonecategory"/>
      <wizard name="%Git_clone_wizard"
	    icon="icons/obj16/import_obj.gif"
	    class="org.eclipse.egit.ui.internal.clone.GitImportWizard"
	    id="org.eclipse.egit.ui.internal.clone.GitCloneWizard"
	    category="org.eclipse.egit.ui.internal.clone.gitclonecategory">
	    <description>%Git_clone_description</description>
      </wizard>
   </extension>

   <extension point="org.eclipse.team.ui.configurationWizards">
      <wizard name="%SharingWizard_name"
	    icon="icons/etool16/newconnect_wiz.gif"
            class="org.eclipse.egit.ui.internal.sharing.SharingWizard"
            id="org.eclipse.egit.ui.internal.sharing.SharingWizard">
      </wizard>
   </extension>

   <extension point="org.eclipse.ui.popupMenus">
     <objectContribution id="org.eclipse.egit.ui.containerContributions"
            objectClass="org.eclipse.core.resources.IContainer"
            adaptable="true">
         <filter name="projectPersistentProperty"
               value="org.eclipse.team.core.repository=org.eclipse.egit.core.GitProvider">
         </filter>
         <action
               class="org.eclipse.egit.ui.internal.actions.SynchronizeWorkspaceAction"
               id="org.eclipse.egit.ui.internal.actions.SynchronizeWorkspace"
               icon="$nl$/icons/obj16/remotespec.gif"
               label="%SynchronizeWorkspace_label"
               menubarPath="team.main/group3"/>
     </objectContribution>
     <objectContribution
            adaptable="true"
            id="org.eclipse.egit.ui.resourceContributions"
            objectClass="org.eclipse.core.resources.IResource">
         <filter name="projectPersistentProperty"
               value="org.eclipse.team.core.repository=org.eclipse.egit.core.GitProvider">
         </filter>
         <action
               class="org.eclipse.egit.ui.internal.actions.CommitAction"
               definitionId="org.eclipse.egit.ui.team.Commit"
               icon="$nl$/icons/obj16/commit.gif"
               id="org.eclipse.egit.ui.internal.actions.CommitAction"
               label="%CommitAction_label"
               menubarPath="team.main/group1"/>
         <action
               class="org.eclipse.egit.ui.internal.actions.CompareWithIndexAction"
               id="org.eclipse.egit.ui.internal.actions.CompareWithIndexAction"
               label="%CompareWithIndexAction_label"
               menubarPath="compareWithMenu/gitCompareWithGroup"/>
         <action
               class="org.eclipse.egit.ui.internal.actions.CompareWithRefAction"
               id="org.eclipse.egit.ui.internal.actions.CompareWithRefAction"
               label="%CompareWithBranchOrTagAction.label"
               menubarPath="compareWithMenu/gitCompareWithGroup">
         </action>
          <action
               class="org.eclipse.egit.ui.internal.actions.CompareWithPreviousAction"
               definitionId="org.eclipse.egit.ui.team.CompareWithPrevious"
               enablesFor="1"
               id="org.eclipse.egit.ui.internal.actions.CompareWithPreviousAction"
               label="%CompareWithPreviousAction.label"
               menubarPath="compareWithMenu/gitCompareWithGroup"/>
         <action
               class="org.eclipse.egit.ui.internal.actions.CompareWithHeadAction"
               id="org.eclipse.egit.ui.internal.actions.CompareWithHeadAction"
               label="%CompareWithHeadAction_label"
               menubarPath="compareWithMenu/gitCompareWithGroup"/>
         <action
               class="org.eclipse.egit.ui.internal.actions.CompareIndexWithHeadAction"
               id="org.eclipse.egit.ui.internal.actions.CompareIndexWithHeadAction"
               label="%CompareIndexWithHeadAction_label"
               menubarPath="compareWithMenu/gitCompareWithGroup"/>
         <action
               class="org.eclipse.egit.ui.internal.actions.IgnoreAction"
               definitionId="org.eclipse.egit.ui.team.Ignore"
               icon="$nl$/icons/obj16/ignore.gif"
               id="org.eclipse.egit.ui.internal.actions.IgnoreAction"
               label="%IgnoreAction_label"
               menubarPath="team.main/group8"/>
         <action
               class="org.eclipse.egit.ui.internal.actions.RemoveFromIndexAction"
               definitionId="org.eclipse.egit.ui.team.RemoveFromIndex"
               icon="$nl$/icons/obj16/unstage.gif"
               id="org.eclipse.egit.ui.internal.actions.RemoveFromIndexAction"
               label="%RemoveFromIndexAction_label"
               menubarPath="team.main/group8"/>
         <action
               class="org.eclipse.egit.ui.internal.actions.AddToIndexAction"
               definitionId="org.eclipse.egit.ui.team.AddToIndex"
               icon="$nl$/icons/obj16/add.gif"
               id="org.eclipse.egit.ui.internal.actions.AddToIndexAction"
               label="%AddToIndexAction_label"
               menubarPath="team.main/group8"/>
         <action
               class="org.eclipse.egit.ui.internal.actions.DiscardChangesAction"
               id="org.eclipse.egit.ui.internal.actions.DiscardChangesAction"
               label="%DiscardChangesAction_label"
               menubarPath="replaceWithMenu/gitReplaceWithGroup"/>
         <action
               class="org.eclipse.egit.ui.internal.actions.ReplaceWithRefAction"
               id="org.eclipse.egit.ui.internal.actions.ReplaceWithRefAction"
               label="%ReplaceWithRefAction_label"
               menubarPath="replaceWithMenu/gitReplaceWithGroup"/>
         <action
               class="org.eclipse.egit.ui.internal.actions.ReplaceWithPreviousAction"
               enablesFor="1"
               id="org.eclipse.egit.ui.internal.actions.ReplaceWithPreviousAction"
               label="%replaceWithPreviousVersionAction.label"
               menubarPath="replaceWithMenu/gitReplaceWithGroup">
         </action>
         <action
               class="org.eclipse.egit.ui.internal.actions.ReplaceWithHeadAction"
               id="org.eclipse.egit.ui.internal.actions.ReplaceWithHeadAction"
               label="%ReplaceWithHeadAction_label"
               menubarPath="replaceWithMenu/gitReplaceWithGroup"/>
         <action
               class="org.eclipse.egit.ui.internal.actions.ReplaceWithCommitAction"
               id="org.eclipse.egit.ui.internal.actions.ReplaceWithCommitAction"
               label="%ReplaceWithCommitAction_label"
               menubarPath="replaceWithMenu/gitReplaceWithGroup"/>
         <action
               class="org.eclipse.egit.ui.internal.actions.ApplyPatchAction"
               definitionId="org.eclipse.egit.ui.team.ApplyPatch"
               enablesFor="*"
               id="org.eclipse.egit.ui.internal.actions.applyPatch"
               label="%ApplyPatchAction_label"
               menubarPath="team.main/group6"
               overrideActionId="org.eclipse.team.ui.applyPatch">
         </action>
         <action
               class="org.eclipse.egit.ui.internal.actions.ShowHistoryAction"
               definitionId="org.eclipse.egit.ui.team.ShowHistory"
               icon="icons/obj16/history.gif"
               id="org.eclipse.egit.ui.internal.actions.ShowHistoryActionHandler"
               label="%ShowResourceInHistoryAction_label"
               menubarPath="team.main/group9">
         </action>
         <action
               class="org.eclipse.egit.ui.internal.actions.ShowRepositoriesViewAction"
               definitionId="org.eclipse.egit.ui.team.ShowRepositoriesView"
               icon="icons/eview16/repo_rep.gif"
               id="org.eclipse.egit.ui.internal.actions.ShowRepositoriesViewAction"
               label="%ShowRepositoryAction_label"
               menubarPath="team.main/group9">
         </action>
         <action
               class="org.eclipse.egit.ui.internal.actions.MergeToolAction"
               definitionId="org.eclipse.egit.ui.team.MergeTool"
               icon="icons/obj16/mergetool.gif"
               id="org.eclipse.egit.ui.internal.actions.MergeTool"
               label="%MergeToolAction.label"
               menubarPath="team.main/group4">
         </action>
         <action
               class="org.eclipse.egit.ui.internal.actions.CompareWithCommitAction"
               id="org.eclipse.egit.ui.internal.actions.CompareWithCommitAction"
               label="%CompareWithCommitAction.label"
               menubarPath="compareWithMenu/gitCompareWithGroup">
         </action>
         <action
               class="org.eclipse.egit.ui.internal.actions.CreatePatchAction"
               id="org.eclipse.egit.ui.internal.actions.CreatePatchAction"
               label="%CreatePatchAction.label"
               menubarPath="team.main/group6"
               tooltip="%CreatePatchAction.tooltip">
         </action>
      </objectContribution>
      <objectContribution
         adaptable="true"
         id="org.eclipse.egit.ui.fileContributions"
         objectClass="org.eclipse.core.resources.IFile">
         <filter name="projectPersistentProperty"
               value="org.eclipse.team.core.repository=org.eclipse.egit.core.GitProvider">
         </filter>
         <action
               class="org.eclipse.egit.ui.internal.actions.CompareWithRevisionAction"
               icon="$nl$/icons/obj16/history.gif"
               id="org.eclipse.egit.ui.internal.actions.CompareWithRevisionAction"
               label="%CompareWithRevisionAction_label"
               menubarPath="compareWithMenu/gitCompareWithGroup"/>
      </objectContribution>
      <objectContribution
            adaptable="true"
            id="org.eclipse.egit.ui.gitFileContributions"
            objectClass="org.eclipse.core.resources.IFile">
         <filter
               name="projectPersistentProperty"
               value="org.eclipse.team.core.repository=org.eclipse.egit.core.GitProvider">
         </filter>
         <action
               class="org.eclipse.egit.ui.internal.actions.ShowBlameAction"
               enablesFor="1"
               id="org.eclipse.egit.ui.internal.actions.ShowBlameAction"
               definitionId="org.eclipse.egit.ui.team.ShowBlame"
               label="%ShowBlameAction_label"
               icon="icons/etool16/annotate.gif"
               menubarPath="team.main/group9">
         </action>
      </objectContribution>
   </extension>

   <extension
         point="org.eclipse.core.runtime.adapters">
         <factory
               adaptableType="org.eclipse.egit.core.internal.storage.GitFileHistoryProvider"
               class="org.eclipse.egit.ui.internal.factories.GitAdapterFactory">
            <adapter
                  type="org.eclipse.team.ui.history.IHistoryPageSource">
            </adapter>
         </factory>
         <factory
	       adaptableType="org.eclipse.core.resources.IResource"
               class="org.eclipse.egit.ui.internal.factories.GitAdapterFactory">
            <adapter
                  type="org.eclipse.team.ui.history.IHistoryPageSource">
            </adapter>
         </factory>
         <factory
               adaptableType="org.eclipse.egit.ui.internal.repository.tree.RepositoryTreeNode"
               class="org.eclipse.egit.ui.internal.factories.GitAdapterFactory">
            <adapter
                  type="org.eclipse.team.ui.history.IHistoryPageSource">
            </adapter>
         </factory>
         <factory
               adaptableType="org.eclipse.egit.ui.internal.commit.RepositoryCommit"
               class="org.eclipse.egit.ui.internal.factories.GitAdapterFactory">
            <adapter
                  type="org.eclipse.team.ui.history.IHistoryPageSource">
            </adapter>
         </factory>
         <factory
               adaptableType="org.eclipse.egit.ui.internal.history.HistoryPageInput"
               class="org.eclipse.egit.ui.internal.factories.GitAdapterFactory">
            <adapter
                  type="org.eclipse.team.ui.history.IHistoryPageSource">
            </adapter>
         </factory>
         <factory
	       adaptableType="org.eclipse.egit.ui.internal.synchronize.model.GitModelRoot"
               class="org.eclipse.egit.ui.internal.factories.GitAdapterFactory">
            <adapter
                  type="org.eclipse.ui.model.IWorkbenchAdapter"/>
         </factory>
         <factory
	       adaptableType="org.eclipse.egit.ui.internal.synchronize.model.GitModelRepository"
               class="org.eclipse.egit.ui.internal.factories.GitAdapterFactory">
            <adapter
                  type="org.eclipse.ui.model.IWorkbenchAdapter"/>
         </factory>
         <factory
	       adaptableType="org.eclipse.egit.ui.internal.synchronize.model.GitModelCommit"
               class="org.eclipse.egit.ui.internal.factories.GitAdapterFactory">
            <adapter
                  type="org.eclipse.ui.model.IWorkbenchAdapter"/>
         </factory>
         <factory
	       adaptableType="org.eclipse.egit.ui.internal.synchronize.model.GitModelCache"
               class="org.eclipse.egit.ui.internal.factories.GitAdapterFactory">
            <adapter
                  type="org.eclipse.ui.model.IWorkbenchAdapter"/>
         </factory>
         <factory
	       adaptableType="org.eclipse.egit.ui.internal.synchronize.model.GitModelWorkingTree"
               class="org.eclipse.egit.ui.internal.factories.GitAdapterFactory">
            <adapter
                  type="org.eclipse.ui.model.IWorkbenchAdapter"/>
         </factory>
         <factory
	       adaptableType="org.eclipse.egit.ui.internal.synchronize.model.GitModelTree"
               class="org.eclipse.egit.ui.internal.factories.GitAdapterFactory">
            <adapter
                  type="org.eclipse.ui.model.IWorkbenchAdapter"/>
         </factory>
         <factory
	       adaptableType="org.eclipse.egit.ui.internal.synchronize.model.GitModelBlob"
               class="org.eclipse.egit.ui.internal.factories.GitAdapterFactory">
            <adapter
                  type="org.eclipse.ui.model.IWorkbenchAdapter"/>
         </factory>
         <factory
            adaptableType="org.eclipse.egit.ui.internal.synchronize.model.GitModelObject"
            class="org.eclipse.egit.ui.internal.factories.GitAdapterFactory">
         <adapter type="org.eclipse.core.resources.mapping.ResourceMapping"/>
         <adapter type="org.eclipse.core.resources.IResource"/>
      </factory>
      <factory
            adaptableType="org.eclipse.egit.ui.internal.synchronize.model.GitModelRepository"
            class="org.eclipse.egit.ui.internal.factories.GitAdapterFactory">
         <adapter type="org.eclipse.core.resources.mapping.ResourceMapping"/>
      </factory>
      <factory
            adaptableType="org.eclipse.egit.ui.internal.synchronize.model.GitModelCommit"
            class="org.eclipse.egit.ui.internal.factories.GitAdapterFactory">
         <adapter type="org.eclipse.core.resources.mapping.ResourceMapping"/>
      </factory>
      <factory
            adaptableType="org.eclipse.egit.ui.internal.synchronize.model.GitModelCache"
            class="org.eclipse.egit.ui.internal.factories.GitAdapterFactory">
         <adapter type="org.eclipse.core.resources.mapping.ResourceMapping"/>
      </factory>
      <factory
            adaptableType="org.eclipse.egit.ui.internal.synchronize.model.GitModelWorkingTree"
            class="org.eclipse.egit.ui.internal.factories.GitAdapterFactory">
         <adapter type="org.eclipse.core.resources.mapping.ResourceMapping"/>
      </factory>
      <factory
            adaptableType="org.eclipse.egit.ui.internal.synchronize.model.GitModelTree"
            class="org.eclipse.egit.ui.internal.factories.GitAdapterFactory">
         <adapter type="org.eclipse.core.resources.mapping.ResourceMapping"/>
         <adapter type="org.eclipse.core.resources.IResource"/>
      </factory>
      <factory
            adaptableType="org.eclipse.egit.ui.internal.synchronize.model.GitModelBlob"
            class="org.eclipse.egit.ui.internal.factories.GitAdapterFactory">
         <adapter type="org.eclipse.core.resources.mapping.ResourceMapping"/>
         <adapter type="org.eclipse.core.resources.IResource"/>
      </factory>
      <factory
            adaptableType="org.eclipse.egit.ui.internal.repository.tree.RepositoryNode"
            class="org.eclipse.egit.ui.internal.factories.GitAdapterFactory">
         <adapter type="org.eclipse.ui.model.IWorkbenchAdapter"/>
      </factory>
      <factory
            adaptableType="org.eclipse.team.ui.history.IHistoryView"
            class="org.eclipse.egit.ui.internal.factories.GitAdapterFactory">
         <adapter type="org.eclipse.ui.part.IShowInSource"/>
      </factory>
   </extension>

   <extension
         point="org.eclipse.core.expressions.definitions">
      <definition
            id="org.eclipse.egit.ui.gitProject">
         <and>
            <count
                  value="1">
            </count>
            <iterate>
               <adapt
                     type="org.eclipse.core.resources.IProject">
                  <test
                        property="GitResource.isShared">
                  </test>
               </adapt>
            </iterate>
         </and>
      </definition>
      <definition
            id="org.eclipse.egit.ui.gitProjects">
         <and>
            <count
                  value="+">
            </count>
            <iterate>
               <adapt
                     type="org.eclipse.core.resources.IProject">
                  <test
                        property="GitResource.isShared">
                  </test>
               </adapt>
            </iterate>
         </and>
      </definition>
   </extension>

   <extension point="org.eclipse.ui.preferencePages">
      <page name="%GitPreferences_name"
            category="org.eclipse.team.ui.TeamPreferences"
            class="org.eclipse.egit.ui.internal.preferences.GitPreferenceRoot"
            id="org.eclipse.egit.ui.GitPreferences">
	      <keywordReference
	            id="org.eclipse.egit.ui.keyword.refresh"/>
      </page>
      <page name="%GitPreferences_ProjectPreferencePage_name"
	    category="org.eclipse.egit.ui.GitPreferences"
            class="org.eclipse.egit.ui.internal.preferences.ProjectsPreferencePage"
	        id="org.eclipse.egit.ui.internal.preferences.ProjectsPreferencePage" >
	    <keywordReference
		  id="org.eclipse.egit.ui.keyword.git">
	    </keywordReference>
      </page>
      <page name="%GitPreferences_WindowCachePreferencePage_name"
	    category="org.eclipse.egit.ui.GitPreferences"
            class="org.eclipse.egit.ui.internal.preferences.WindowCachePreferencePage"
	    id="org.eclipse.egit.ui.internal.preferences.WindowCachePreferencePage" >
	    <keywordReference
		  id="org.eclipse.egit.ui.keyword.git">
	    </keywordReference>
      </page>
	  <page name="%GitPreferences_DecoratorPreferencePage_name"
	    category="org.eclipse.egit.ui.GitPreferences"
            class="org.eclipse.egit.ui.internal.preferences.GitDecoratorPreferencePage"
	    id="org.eclipse.egit.ui.internal.preferences.GitDecoratorPreferencePage" >
	    <keywordReference
		  id="org.eclipse.egit.ui.keyword.git">
	    </keywordReference>
      </page>
      <page
         category="org.eclipse.egit.ui.GitPreferences"
         class="org.eclipse.egit.ui.internal.preferences.GlobalConfigurationPreferencePage"
         id="org.eclipse.egit.ui.internal.preferences.GlobalConfigurationPreferencePage"
         name="%ConfigurationPage.name">
      <keywordReference
            id="org.eclipse.egit.ui.keyword.git">
      </keywordReference>
      </page>
      <page
            category="org.eclipse.egit.ui.GitPreferences"
            class="org.eclipse.egit.ui.internal.preferences.CommitDialogPreferencePage"
            id="org.eclipse.egit.ui.internal.preferences.CommitDialogPreferencePage"
            name="%GitPreferences_CommitDialogPreferencePage_name">
         <keywordReference
               id="org.eclipse.egit.ui.keyword.git">
         </keywordReference>
      </page>
      <page
            category="org.eclipse.egit.ui.GitPreferences"
            class="org.eclipse.egit.ui.internal.preferences.DialogsPreferencePage"
            id="org.eclipse.egit.ui.internal.preferences.DialogsPreferencePage"
            name="%DialogsPreferencePage.name">
         <keywordReference
               id="org.eclipse.egit.ui.keyword.git">
         </keywordReference>
      </page>
      <page
            category="org.eclipse.egit.ui.GitPreferences"
            class="org.eclipse.egit.ui.internal.preferences.SynchronizePreferencePage"
            id="org.eclipse.egit.ui.internal.preferences.SynchronizePreferencePage"
            name="%SynchronizePreferencePage.name">
         <keywordReference
               id="org.eclipse.egit.ui.keyword.git">
         </keywordReference>
      </page>
      <page
            category="org.eclipse.egit.ui.GitPreferences"
            class="org.eclipse.egit.ui.internal.preferences.HistoryPreferencePage"
            id="org.eclipse.egit.ui.internal.preferences.HistoryPreferencePage"
            name="%HistoryPreferencePage.name">
         <keywordReference
               id="org.eclipse.egit.ui.keyword.git">
         </keywordReference>
      </page>
   </extension>

   <extension point="org.eclipse.ui.propertyPages">
      <page
            name="%Git"
            class="org.eclipse.egit.ui.internal.preferences.GitProjectPropertyPage"
            id="org.eclipse.egit.ui.preferences.GitProjectPropertyPage">
	    <enabledWhen>
		<adapt type="org.eclipse.core.resources.IResource">
			<test
				property="org.eclipse.core.resources.projectPersistentProperty"
				args="org.eclipse.team.core.repository, org.eclipse.egit.core.GitProvider">
			</test>
		</adapt>
	    </enabledWhen>
      </page>
      <page
            class="org.eclipse.egit.ui.internal.repository.RepositoryPropertyPage"
            id="org.eclipse.egit.ui.property.RepositoryPropertyPage"
            name="%RepositoryConfigPropertyPage"
            objectClass="org.eclipse.egit.ui.internal.repository.tree.RepositoryNode">
      </page>
      <page
            class="org.eclipse.egit.ui.internal.repository.RepositoryStatisticsPage"
            id="org.eclipse.egit.ui.property.RepositoryStatisticsPage"
            name="%RepositoryStatisticsPage"
            objectClass="org.eclipse.egit.ui.internal.repository.tree.RepositoryNode">
      </page>
   </extension>

   <extension point="org.eclipse.ui.keywords">
	  <keyword
			id="org.eclipse.egit.ui.keyword.git"
			label="%GitKeyword_label">
	  </keyword>
	  <keyword
			id="org.eclipse.egit.ui.keyword.refresh"
			label="%GitKeyword_Refresh_label">
	  </keyword>
   </extension>

   <extension point="org.eclipse.ui.decorators">
      <decorator
            lightweight="true"
            adaptable="true"
            label="%Decorator_name"
            class="org.eclipse.egit.ui.internal.decorators.GitLightweightDecorator"
            state="true"
            location="BOTTOM_RIGHT"
            id="org.eclipse.egit.ui.internal.decorators.GitLightweightDecorator">
            <enablement>
              <objectClass name="org.eclipse.core.resources.mapping.ResourceMapping"/>
            </enablement>
         <description>
            %Decorator_description
         </description>
      </decorator>
   </extension>

   <extension point="org.eclipse.ui.themes">
      <themeElementCategory
            id="org.eclipse.egit.ui.GitTheme"
            label="%Theme_label"/>
      <fontDefinition
            id="org.eclipse.egit.ui.CommitGraphNormalFont"
            categoryId="org.eclipse.egit.ui.GitTheme"
            label="%Theme_CommitGraphNormalFont_label"
            defaultsTo="org.eclipse.jface.dialogfont">
         <description>
            %Theme_CommitGraphNormalFont_description
         </description>
      </fontDefinition>
      <fontDefinition
            id="org.eclipse.egit.ui.CommitGraphHighlightFont"
            categoryId="org.eclipse.egit.ui.GitTheme"
            label="%Theme_CommitGraphHighlightFont_label"
            defaultsTo="org.eclipse.jface.dialogfont">
         <description>
            %Theme_CommitGraphHighlightFont_description
         </description>
      </fontDefinition>
      <fontDefinition
            id="org.eclipse.egit.ui.CommitMessageFont"
            categoryId="org.eclipse.egit.ui.GitTheme"
            label="%Theme_CommitMessageFont_label"
            defaultsTo="org.eclipse.jface.textfont">
         <description>
            %Theme_CommitMessageFont_description
         </description>
      </fontDefinition>
	<colorDefinition
        id="org.eclipse.egit.ui.UncommittedChangeForegroundColor"
        categoryId="org.eclipse.egit.ui.GitTheme"
        label="%Theme_UncommittedChangeForegroundColor_label"
        value="COLOR_LIST_FOREGROUND">
        <description>
        %Theme_UncommittedChangeForegroundColor_description
        </description>
      </colorDefinition>
      <colorDefinition
        id="org.eclipse.egit.ui.UncommittedChangeBackgroundColor"
        categoryId="org.eclipse.egit.ui.GitTheme"
        label="%Theme_UncommittedChangeBackgroundColor_label"
        value="COLOR_LIST_BACKGROUND">
        <description>
        %Theme_UncommittedChangeBackgroundColor_description
        </description>
      </colorDefinition>
      <fontDefinition
        id="org.eclipse.egit.ui.UncommittedChangeFont"
        categoryId="org.eclipse.egit.ui.GitTheme"
        label="%Theme_UncommittedChangeFont_label">
        <description>
        %Theme_UncommittedChangeFont_description
        </description>
      </fontDefinition>
      <fontDefinition
            categoryId="org.eclipse.egit.ui.GitTheme"
            defaultsTo="org.eclipse.jface.textfont"
            id="org.eclipse.egit.ui.CommitMessageEditorFont"
            label="%Theme_CommitMessageEditorFont_label">
         <description>
            %Theme_CommitMessageEditorFont_description
         </description>
      </fontDefinition>
      <colorDefinition
            categoryId="org.eclipse.egit.ui.GitTheme"
            id="org.eclipse.egit.ui.DiffHunkBackgroundColor"
            isEditable="true"
            label="%Theme_DiffHunkBackgroundColor_label"
            value="234,242,245">
         <description>
            %Theme_DiffHunkBackgroundColor_description
         </description>
      </colorDefinition>
      <colorDefinition
            categoryId="org.eclipse.egit.ui.GitTheme"
            id="org.eclipse.egit.ui.DiffHunkForegroundColor"
            isEditable="true"
            label="%Theme_DiffHunkForegroundColor_label"
            value="153,153,153">
         <description>
            %Theme_DiffHunkForegroundColor_description
         </description>
      </colorDefinition>
      <colorDefinition
            categoryId="org.eclipse.egit.ui.GitTheme"
            id="org.eclipse.egit.ui.DiffAddBackgroundColor"
            isEditable="true"
            label="%Theme_DiffAddBackgroundColor_label"
            value="221,255,221">
         <description>
            %Theme_DiffAddBackgroundColor_description
         </description>
      </colorDefinition>
      <colorDefinition
            categoryId="org.eclipse.egit.ui.GitTheme"
            id="org.eclipse.egit.ui.DiffAddForegroundColor"
            isEditable="true"
            label="%Theme_DiffAddForegroundColor_label"
            value="COLOR_BLACK">
         <description>
            %Theme_DiffAddForegroundColor_description
         </description>
      </colorDefinition>
      <colorDefinition
            categoryId="org.eclipse.egit.ui.GitTheme"
            id="org.eclipse.egit.ui.DiffRemoveBackgroundColor"
            isEditable="true"
            label="%Theme_DiffRemoveBackgroundColor_label"
            value="255,221,221">
         <description>
            %Theme_DiffRemoveBackgroundColor_description
         </description>
      </colorDefinition>
      <colorDefinition
            categoryId="org.eclipse.egit.ui.GitTheme"
            id="org.eclipse.egit.ui.DiffRemoveForegroundColor"
            isEditable="true"
            label="%Theme_DiffRemoveForegroundColor_label"
            value="COLOR_BLACK">
         <description>
            %Theme_DiffRemoveForegroundColor_description
         </description>
      </colorDefinition>
      <colorDefinition
            categoryId="org.eclipse.egit.ui.GitTheme"
            id="org.eclipse.egit.ui.DiffHeadlineForegroundColor"
            isEditable="true"
            label="%Theme_DiffHeadlineForegroundColor_label"
            value="COLOR_BLACK">
         <description>
            %Theme_DiffHeadlineForegroundColor_description
         </description>
      </colorDefinition>
      <colorDefinition
            categoryId="org.eclipse.egit.ui.GitTheme"
            id="org.eclipse.egit.ui.DiffHeadlineBackgroundColor"
            isEditable="true"
            label="%Theme_DiffHeadlineBackgroundColor_label"
            value="170,170,170">
         <description>
            %Theme_DiffHeadlineBackgroundColor_description
         </description>
      </colorDefinition>
      <fontDefinition
            categoryId="org.eclipse.egit.ui.GitTheme"
            defaultsTo="org.eclipse.jface.textfont"
            id="org.eclipse.egit.ui.DiffHeadlineFont"
            label="%Theme_DiffHeadlineFont_label">
         <description>
            %Theme_DiffHeadlineFont_description
         </description>
      </fontDefinition>
      <colorDefinition
        id="org.eclipse.egit.ui.IgnoredResourceForegroundColor"
        categoryId="org.eclipse.egit.ui.GitTheme"
        label="%Theme_IgnoredResourceForegroundColor_label"
        value="COLOR_LIST_FOREGROUND">
        <description>
        %Theme_IgnoredResourceForegroundColor_description
        </description>
      </colorDefinition>
      <colorDefinition
        id="org.eclipse.egit.ui.IgnoredResourceBackgroundColor"
        categoryId="org.eclipse.egit.ui.GitTheme"
        label="%Theme_IgnoredResourceBackgroundColor_label"
        value="COLOR_LIST_BACKGROUND">
        <description>
        %Theme_IgnoredResourceBackgroundColor_description
        </description>
      </colorDefinition>
      <fontDefinition
            categoryId="org.eclipse.egit.ui.GitTheme"
            id="org.eclipse.egit.ui.IgnoredResourceFont"
            label="%Theme_IgnoredResourceFont_label">
        <description>
        %Theme_IgnoredResourceFont_description
        </description>
      </fontDefinition>
   </extension>

<!-- ********** QuickDiff text editor support ************** -->
   <extension
         point="org.eclipse.ui.workbench.texteditor.quickDiffReferenceProvider">
      <referenceprovider
            label="%GitRemoteQuickDiffProvider_label"
            class="org.eclipse.egit.ui.internal.decorators.GitQuickDiffProvider"
            id="org.eclipse.egit.ui.internal.decorators.GitQuickDiffProvider">
      </referenceprovider>
   </extension>
   <extension
         point="org.eclipse.ui.actionSets">
      <actionSet
           description="%GitActions_description"
           id="org.eclipse.egit.ui.gitaction"
           label="%GitActions_label"
           visible="false">
         <menu
           id="org.eclipse.egit.ui.gitmenu"
           label="%GitMenu_label"
           path="additions">
            <separator name="repositoryGroup" />
	     </menu>
         <action
           class="org.eclipse.egit.ui.internal.actions.PullFromUpstreamConfigAction"
           definitionId="org.eclipse.egit.ui.team.Pull"
           icon="icons/obj16/pull.gif"
           id="org.eclipse.egit.ui.actionpull"
           label="%PullIntoCurrentBranchMenuLabel"
           menubarPath="org.eclipse.egit.ui.gitmenu/repo"
           style="push"
           toolbarPath="org.eclipse.egit.ui"
           tooltip="%PullIntoCurrentBranch.tooltip">
         </action>
		 <action
           class="org.eclipse.egit.ui.internal.actions.SimpleFetchAction"
           definitionId="org.eclipse.egit.ui.team.SimpleFetch"
           icon="icons/obj16/fetch.gif"
           id="org.eclipse.egit.ui.actionfetch"
           label="%FetchFromUpstreamAction.label"
           menubarPath="org.eclipse.egit.ui.gitmenu/repo"
           style="push"
           toolbarPath="org.eclipse.egit.ui"
           tooltip="%FetchAction_tooltip">
		 </action>
		 <action
           class="org.eclipse.egit.ui.internal.actions.SimplePushAction"
           definitionId="org.eclipse.egit.ui.team.SimplePush"
           icon="icons/obj16/push.gif"
           id="org.eclipse.egit.ui.actionpush"
           label="%PushToUpstreamAction.label"
           menubarPath="org.eclipse.egit.ui.gitmenu/repo"
           style="push"
           toolbarPath="org.eclipse.egit.ui"
           tooltip="%PushAction_tooltip">
		 </action>
		 <action
           class="org.eclipse.egit.ui.internal.actions.ResetAction"
           definitionId="org.eclipse.egit.ui.team.Reset"
           icon="icons/obj16/reset.gif"
           id="org.eclipse.egit.ui.actionreset"
           label="%ResetAction_label"
           menubarPath="org.eclipse.egit.ui.gitmenu/repositoryGroup"
           style="push"
           toolbarPath="Normal/additions"
           tooltip="%ResetAction_tooltip">
		 </action>
		 <action
           class="org.eclipse.egit.ui.internal.actions.MergeAction"
           definitionId="org.eclipse.egit.ui.team.Merge"
           icon="icons/obj16/merge.gif"
           id="org.eclipse.egit.ui.actionmerge"
           label="%MergeAction_label"
           menubarPath="org.eclipse.egit.ui.gitmenu/repositoryGroup"
           style="push"
           toolbarPath="Normal/additions"
           tooltip="%MergeAction_tooltip">
		 </action>
		 <action
           class="org.eclipse.egit.ui.internal.actions.RebaseAction"
           definitionId="org.eclipse.egit.ui.team.Rebase"
           icon="icons/obj16/rebase.gif"
           id="org.eclipse.egit.ui.actionrebase"
           label="%RebaseAction_label"
           menubarPath="org.eclipse.egit.ui.gitmenu/repositoryGroup"
           style="pulldown"
           toolbarPath="Normal/additions"
           tooltip="%RebaseAction_tooltip">
         </action>
         <action
           class="org.eclipse.egit.ui.internal.actions.BranchAction"
           definitionId="org.eclipse.egit.ui.team.Branch"
           icon="icons/obj16/branch_obj.gif"
           id="org.eclipse.egit.ui.actionbranch"
           label="%BranchAction_label"
           menubarPath="org.eclipse.egit.ui.gitmenu/repositoryGroup"
           style="push"
           toolbarPath="Normal/additions"
           tooltip="%BranchAction_tooltip">
         </action>
         <action
           class="org.eclipse.egit.ui.internal.actions.CommitAction"
           definitionId="org.eclipse.egit.ui.team.Commit"
           icon="icons/obj16/commit.gif"
           id="org.eclipse.egit.ui.actioncommit"
           label="%CommitAction_label"
           menubarPath="org.eclipse.egit.ui.gitmenu/repositoryGroup"
           style="push"
           toolbarPath="Normal/additions"
           tooltip="%CommitAction_tooltip">
         </action>
         <action
           class="org.eclipse.egit.ui.internal.actions.AddToIndexAction"
           definitionId="org.eclipse.egit.ui.team.AddToIndex"
           icon="icons/obj16/add.gif"
           id="org.eclipse.egit.ui.actionadd"
           label="%AddToIndexAction_label"
           menubarPath="org.eclipse.egit.ui.gitmenu/repositoryGroup"
           style="push"
           toolbarPath="Normal/additions"
           tooltip="%AddToIndexAction_tooltip">
         </action>
      </actionSet>
   </extension>
   <extension
         name="%SharedCommandsLabel"
         point="org.eclipse.ui.commands">
      <command
            defaultHandler="org.eclipse.egit.ui.internal.commands.ShareSingleProjectCommand"
            description="%ShareProjectCommand_desc"
            id="org.eclipse.egit.ui.command.shareProject"
            name="%ShareProjectCommand_name">
         <commandParameter
               id="org.eclipse.egit.ui.command.projectNameParameter"
               name="%ShareProjectCommandParameter_name"
               optional="false"
               values="org.eclipse.egit.ui.internal.commands.ProjectNameParameterValues">
         </commandParameter>
      </command>
      <category
            id="org.eclipse.egit.ui.commandCategory"
            name="%Git">
      </category>
      <command
            categoryId="org.eclipse.egit.ui.commandCategory"
            defaultHandler="org.eclipse.egit.ui.internal.commands.ConfigureDebugTraceCommand"
            id="org.eclipse.egit.ui.command.configureTrace"
            name="%ConfigureTraceCommand.name">
      </command>
      <command
            categoryId="org.eclipse.egit.ui.commandCategory"
            defaultHandler="org.eclipse.egit.ui.internal.commands.shared.FetchChangeFromGerritCommand"
            id="org.eclipse.egit.ui.FetchGerritChange"
            name="%FetchFromGerritCommand.name">
      </command>
      <command
            categoryId="org.eclipse.egit.ui.commandCategory"
            id="org.eclipse.egit.ui.team.Commit"
            name="%CommitCommand.name">
      </command>
      <command
            categoryId="org.eclipse.egit.ui.commandCategory"
            id="org.eclipse.egit.ui.team.SimpleFetch"
            name="%FetchUpstreamCommand.name">
      </command>
      <command
            categoryId="org.eclipse.egit.ui.commandCategory"
            id="org.eclipse.egit.ui.team.SimplePush"
            name="%PushUpstreamCommand.name">
      </command>
      <command
            categoryId="org.eclipse.egit.ui.commandCategory"
            id="org.eclipse.egit.ui.team.Pull"
            name="%TeamPullCommand.name">
      </command>
      <command
            categoryId="org.eclipse.egit.ui.commandCategory"
            id="org.eclipse.egit.ui.team.Fetch"
            name="%FetchCommand.name">
      </command>
      <command
            categoryId="org.eclipse.egit.ui.commandCategory"
            id="org.eclipse.egit.ui.team.Push"
            name="%PushCommand.name">
      </command>
      <command
            categoryId="org.eclipse.egit.ui.commandCategory"
            id="org.eclipse.egit.ui.team.Merge"
            name="%MergeCommand.name">
      </command>
      <command
            categoryId="org.eclipse.egit.ui.commandCategory"
            id="org.eclipse.egit.ui.team.Synchronize"
            name="%SynchronizeCommand.name">
      </command>
      <command
            categoryId="org.eclipse.egit.ui.commandCategory"
            id="org.eclipse.egit.ui.team.ShowHistory"
            name="%ShowInHistoryCommand.name">
      </command>
      <command
            categoryId="org.eclipse.egit.ui.commandCategory"
            id="org.eclipse.egit.ui.team.OpenCommit"
            name="%OpenCommit.name">
      </command>
      <command
            categoryId="org.eclipse.egit.ui.commandCategory"
            id="org.eclipse.egit.ui.team.Reset"
            name="%ResetCommand.name">
      </command>
      <command
            categoryId="org.eclipse.egit.ui.commandCategory"
            id="org.eclipse.egit.ui.team.Rebase"
            name="%RebaseCommand.name">
      </command>
      <command
            categoryId="org.eclipse.egit.ui.commandCategory"
            id="org.eclipse.egit.ui.team.ShowBlame"
            name="%ShowBlameCommand.name"
            defaultHandler="org.eclipse.egit.ui.internal.actions.ShowBlameActionHandler">
      </command>
      <command
            categoryId="org.eclipse.egit.ui.commandCategory"
            defaultHandler="org.eclipse.egit.ui.internal.commands.shared.PushHeadToGerritCommand"
            id="org.eclipse.egit.ui.PushHeadToGerrit"
            name="%PushToGerritCommand.label">
      </command>
      <command
            categoryId="org.eclipse.egit.ui.commandCategory"
            id="org.eclipse.egit.ui.team.GarbageCollect"
            name="%GarbageCollectCommand.label">
      </command>
      <command
            categoryId="org.eclipse.egit.ui.commandCategory"
            id="org.eclipse.egit.ui.team.Disconnect"
            name="%DisconnectCommand.name">
      </command>
   </extension>
   <extension
         point="org.eclipse.ui.handlers">
      <handler
            commandId="org.eclipse.egit.ui.internal.reflog.CheckoutCommand">
         <class
               class="org.eclipse.egit.ui.internal.reflog.command.CheckoutHandler">
         </class>
         <activeWhen>
            <and>
               <count
                     value="1">
               </count>
               <iterate>
                  <adapt
                        type="org.eclipse.jgit.lib.ReflogEntry">
                  </adapt>
               </iterate>
            </and>
         </activeWhen>
      </handler>
      <handler
            commandId="org.eclipse.egit.ui.internal.reflog.OpenInCommitViewerCommand">
         <class
               class="org.eclipse.egit.ui.internal.reflog.command.OpenInCommitViewerHandler">
         </class>
         <activeWhen>
            <and>
               <count
                     value="1">
               </count>
               <iterate>
                  <adapt
                        type="org.eclipse.jgit.lib.ReflogEntry">
                  </adapt>
               </iterate>
            </and>
         </activeWhen>
      </handler>
      <handler
            commandId="org.eclipse.egit.ui.team.Commit">
         <class
               class="org.eclipse.egit.ui.internal.actions.CommitActionHandler">
         </class>
         <activeWhen>
            <and>
               <count
                     value="+">
               </count>
               <iterate>
                  <or>
                    <adapt
                        type="org.eclipse.core.resources.IResource">
                    </adapt>
                    <adapt
                        type="org.eclipse.core.resources.mapping.ResourceMapping">
                    </adapt>
                    <adapt
                        type="org.eclipse.ui.IContributorResourceAdapter">
                    </adapt>
                    <instanceof
                          value="org.eclipse.egit.ui.internal.repository.tree.RepositoryTreeNode">
                    </instanceof>
                  </or>
               </iterate>
            </and>
         </activeWhen>
      </handler>
      <handler
            commandId="org.eclipse.egit.ui.team.SimpleFetch">
         <class
               class="org.eclipse.egit.ui.internal.repository.tree.command.FetchConfiguredRemoteCommand">
         </class>
         <activeWhen>
            <and>
               <count
                     value="1">
               </count>
               <and>
                  <iterate>
                     <or>
                        <instanceof
                              value="org.eclipse.egit.ui.internal.repository.tree.RepositoryNode">
                        </instanceof>
                        <instanceof
                              value="org.eclipse.egit.ui.internal.repository.tree.FetchNode">
                        </instanceof>
                        <instanceof
                              value="org.eclipse.egit.ui.internal.repository.tree.RemoteNode">
                        </instanceof>
                     </or>
                  </iterate>
               </and>
            </and>
         </activeWhen>
      </handler>
      <handler
            commandId="org.eclipse.egit.ui.team.SimpleFetch">
         <class
               class="org.eclipse.egit.ui.internal.actions.SimpleFetchActionHandler">
         </class>
         <activeWhen>
            <and>
               <count
                     value="1">
               </count>
               <iterate>
                  <adapt
                        type="org.eclipse.core.resources.IResource">
                  </adapt>
               </iterate>
            </and>
         </activeWhen>
      </handler>
      <handler
            commandId="org.eclipse.egit.ui.team.SimplePush">
         <class
               class="org.eclipse.egit.ui.internal.repository.tree.command.PushConfiguredRemoteCommand">
         </class>
         <activeWhen>
            <and>
               <count
                     value="1">
               </count>
               <and>
                  <iterate>
                     <or>
                        <instanceof
                              value="org.eclipse.egit.ui.internal.repository.tree.RepositoryNode">
                        </instanceof>
                        <instanceof
                              value="org.eclipse.egit.ui.internal.repository.tree.PushNode">
                        </instanceof>
                        <instanceof
                              value="org.eclipse.egit.ui.internal.repository.tree.RemoteNode">
                        </instanceof>
                     </or>
                  </iterate>
               </and>
            </and>
         </activeWhen>
      </handler>
      <handler
            commandId="org.eclipse.egit.ui.team.SimplePush">
         <class
               class="org.eclipse.egit.ui.internal.actions.SimplePushActionHandler">
         </class>
         <activeWhen>
            <and>
               <count
                     value="1">
               </count>
               <iterate>
                  <adapt
                        type="org.eclipse.core.resources.IResource">
                  </adapt>
               </iterate>
            </and>
         </activeWhen>
      </handler>
      <handler
            commandId="org.eclipse.egit.ui.team.Pull">
         <class
               class="org.eclipse.egit.ui.internal.actions.PullFromUpstreamActionHandler">
         </class>
         <activeWhen>
            <iterate>
               <or>
                  <adapt
                        type="org.eclipse.core.resources.IProject">
                  </adapt>
                  <instanceof
                        value="org.eclipse.egit.ui.internal.repository.tree.RepositoryTreeNode">
                  </instanceof>
               </or>
            </iterate>
         </activeWhen>
      </handler>
      <handler
            commandId="org.eclipse.egit.ui.team.Fetch">
         <class
               class="org.eclipse.egit.ui.internal.repository.tree.command.FetchCommand">
         </class>
         <activeWhen>
            <and>
               <count
                     value="1">
               </count>
               <and>
                  <iterate>
                     <instanceof
                           value="org.eclipse.egit.ui.internal.repository.tree.RepositoryNode">
                     </instanceof>
                  </iterate>
               </and>
            </and>
         </activeWhen>
      </handler>
      <handler
            commandId="org.eclipse.egit.ui.team.Fetch">
         <class
               class="org.eclipse.egit.ui.internal.actions.FetchActionHandler">
         </class>
         <activeWhen>
            <and>
               <count
                     value="1">
               </count>
               <iterate>
                  <or>
                     <adapt
                           type="org.eclipse.core.resources.IProject">
                     </adapt></or>
               </iterate>
            </and>
         </activeWhen>
      </handler>
      <handler
            commandId="org.eclipse.egit.ui.team.Push">
         <class
               class="org.eclipse.egit.ui.internal.repository.tree.command.PushCommand">
         </class>
         <activeWhen>
            <and>
               <count
                     value="1">
               </count>
               <iterate>
	               <or>
		               <instanceof
		                     value="org.eclipse.egit.ui.internal.repository.tree.RefNode">
		               </instanceof>
		               <instanceof
		                     value="org.eclipse.egit.ui.internal.repository.tree.TagNode">
		               </instanceof>
		               <instanceof
		                     value="org.eclipse.egit.ui.internal.repository.tree.RepositoryNode">
		               </instanceof>
	               </or>
               </iterate>
            </and>
         </activeWhen>
      </handler>
      <handler
            commandId="org.eclipse.egit.ui.team.Push">
         <class
               class="org.eclipse.egit.ui.internal.actions.PushActionHandler">
         </class>
         <activeWhen>
            <and>
               <count
                     value="1">
               </count>
               <iterate>
                  <adapt
                        type="org.eclipse.core.resources.IProject">
                  </adapt>
               </iterate>
            </and>
         </activeWhen>
      </handler>
      <handler
            commandId="org.eclipse.egit.ui.team.Merge">
         <class
               class="org.eclipse.egit.ui.internal.repository.tree.command.MergeCommand">
         </class>
         <activeWhen>
            <and>
               <count
                     value="1">
               </count>
               <and>
                  <iterate>
                     <or>
                        <instanceof
                              value="org.eclipse.egit.ui.internal.repository.tree.TagNode">
                        </instanceof>
                        <instanceof
                              value="org.eclipse.egit.ui.internal.repository.tree.RefNode">
                        </instanceof>
                        <instanceof
                              value="org.eclipse.egit.ui.internal.repository.tree.RepositoryNode">
                        </instanceof>
                     </or>
                  </iterate>
               </and>
            </and>
         </activeWhen>
      </handler>
      <handler
            commandId="org.eclipse.ui.edit.delete">
         <class
               class="org.eclipse.egit.ui.internal.repository.tree.command.DeleteFileCommand">
         </class>
         <activeWhen>
               <and>
                  <count
                        value="+">
                  </count>
                  <iterate
                        ifEmpty="false"
                        operator="and">
                     <or>
                        <instanceof
                              value="org.eclipse.egit.ui.internal.repository.tree.FileNode">
                        </instanceof>
                        <instanceof
                              value="org.eclipse.egit.ui.internal.repository.tree.FolderNode">
                        </instanceof>
                     </or>
                  </iterate>
               </and>
         </activeWhen>
      </handler>
      <handler
            commandId="org.eclipse.ui.edit.delete">
         <class
               class="org.eclipse.egit.ui.internal.repository.tree.command.RemoveOrDeleteRepositoryCommand">
         </class>
         <activeWhen>
            <and>
               <count
                     value="1">
               </count>
               <iterate>
                  <instanceof
                        value="org.eclipse.egit.ui.internal.repository.tree.RepositoryNode">
                  </instanceof>
               </iterate>
            </and>
         </activeWhen>
      </handler>
      <handler
            commandId="org.eclipse.ui.edit.delete">
         <class
               class="org.eclipse.egit.ui.internal.repository.tree.command.DeleteBranchCommand">
         </class>
         <activeWhen>
               <and>
                  <count
                        value="+">
                  </count>
                  <iterate>
                     <and>
                        <or>
                           <instanceof
                                 value="org.eclipse.egit.ui.internal.repository.tree.RefNode">
                           </instanceof>
                           <test
                                 property="GitRepository.isLocalBranch">
                           </test>
                        </or>
                        <not>
                           <test
                                 property="GitRepository.isRefCheckedOut">
                           </test>
                        </not>
                     </and>
                  </iterate>
               </and>
         </activeWhen>
      </handler>
      <handler
            commandId="org.eclipse.ui.edit.delete">
         <class
               class="org.eclipse.egit.ui.internal.repository.tree.command.RemoveRemoteCommand">
         </class>
         <activeWhen>
            <and>
               <count
                     value="1">
               </count>
               <iterate
                     ifEmpty="false"
                     operator="and">
                  <instanceof
                        value="org.eclipse.egit.ui.internal.repository.tree.RemoteNode">
                  </instanceof>
               </iterate>
            </and>
         </activeWhen>
      </handler>
      <handler
            commandId="org.eclipse.ui.edit.delete">
         <class
               class="org.eclipse.egit.ui.internal.repository.tree.command.DeleteFetchCommand">
         </class>
         <activeWhen>
            <and>
               <count
                     value="1">
               </count>
               <iterate
                     ifEmpty="false"
                     operator="and">
                  <instanceof
                        value="org.eclipse.egit.ui.internal.repository.tree.FetchNode">
                  </instanceof>
               </iterate>
            </and>
         </activeWhen>
      </handler>
      <handler
            commandId="org.eclipse.ui.edit.delete">
         <class
               class="org.eclipse.egit.ui.internal.repository.tree.command.DeletePushCommand">
         </class>
         <activeWhen>
            <and>
               <count
                     value="1">
               </count>
               <iterate
                     ifEmpty="false"
                     operator="and">
                  <instanceof
                        value="org.eclipse.egit.ui.internal.repository.tree.PushNode">
                  </instanceof>
               </iterate>
            </and>
         </activeWhen>
      </handler>
      <handler
            commandId="org.eclipse.ui.edit.delete">
         <class
               class="org.eclipse.egit.ui.internal.repository.tree.command.DeleteTagCommand">
         </class>
         <activeWhen>
            <and>
              <count
                     value="+">
              </count>
              <iterate>
                 <instanceof
                        value="org.eclipse.egit.ui.internal.repository.tree.TagNode">
                  </instanceof>
               </iterate>
            </and>
         </activeWhen>
      </handler>
      <handler
            commandId="org.eclipse.egit.ui.team.Merge">
         <class
               class="org.eclipse.egit.ui.internal.actions.MergeActionHandler">
         </class>
         <activeWhen>
            <and>
               <count
                     value="1">
               </count>
               <iterate>
                  <adapt
                        type="org.eclipse.core.resources.IProject">
                  </adapt>
               </iterate>
            </and>
         </activeWhen>
      </handler>
      <handler
            commandId="org.eclipse.egit.ui.team.Synchronize">
         <class
               class="org.eclipse.egit.ui.internal.repository.tree.command.SynchronizeCommand">
         </class>
         <activeWhen>
	         <or>
	            <and>
	               <count
	                     value="1">
	               </count>
	               <and>
	                  <iterate>
	                     <instanceof
	                           value="org.eclipse.egit.ui.internal.repository.tree.RepositoryTreeNode">
	                     </instanceof>
	                  </iterate>
	               </and>
	            </and>
	            <and>
                  <count
                        value="2">
                  </count>
                  <iterate>
                     <and>
                        <or>
                           <instanceof
                                 value="org.eclipse.egit.ui.internal.repository.tree.TagNode">
                           </instanceof>
                           <instanceof
                                 value="org.eclipse.egit.ui.internal.repository.tree.RefNode">
                           </instanceof>
                        </or>
                     </and>
                  </iterate>
               </and>
	         </or>
         </activeWhen>
      </handler>
      <handler
            commandId="org.eclipse.egit.ui.team.ShowHistory">
         <class
               class="org.eclipse.egit.ui.internal.actions.ShowHistoryActionHandler">
         </class>
         <activeWhen>
            <and>
               <count
                     value="1">
               </count>
               <iterate>
                  <adapt
                        type="org.eclipse.core.resources.IResource">
                  </adapt>
               </iterate>
            </and>
         </activeWhen>
      </handler>
      <handler
            commandId="org.eclipse.egit.ui.team.Reset">
         <class
               class="org.eclipse.egit.ui.internal.repository.tree.command.ResetCommand">
         </class>
         <activeWhen>
            <and>
               <count
                     value="1">
               </count>
               <and>
                  <iterate>
                     <instanceof
                           value="org.eclipse.egit.ui.internal.repository.tree.RepositoryTreeNode">
                     </instanceof>
                  </iterate>
               </and>
            </and>
         </activeWhen>
      </handler>
      <handler
            commandId="org.eclipse.egit.ui.team.Reset">
         <class
               class="org.eclipse.egit.ui.internal.actions.ResetActionHandler">
         </class>
         <activeWhen>
            <and>
               <count
                     value="1">
               </count>
               <iterate>
                  <adapt
                        type="org.eclipse.core.resources.IProject">
                  </adapt>
               </iterate>
            </and>
         </activeWhen>
      </handler>
      <handler
            commandId="org.eclipse.egit.ui.RepositoriesViewRemoveRemote">
         <class
               class="org.eclipse.egit.ui.internal.repository.tree.command.RemoveRemoteCommand">
         </class>
         <activeWhen>
             <and>
                  <count
                        value="1">
                  </count>
                  <iterate
                        ifEmpty="false"
                        operator="and">
                     <instanceof
                           value="org.eclipse.egit.ui.internal.repository.tree.RemoteNode">
                     </instanceof>
                  </iterate>
               </and>
         </activeWhen>
      </handler>
      <handler
            commandId="org.eclipse.egit.ui.RepositoriesViewConfigureGerritRemote">
         <class
               class="org.eclipse.egit.ui.internal.repository.tree.command.ConfigureGerritRemoteCommand">
         </class>
         <activeWhen>
             <and>
                  <count
                        value="1">
                  </count>
                  <iterate
                        ifEmpty="false"
                        operator="and">
                     <instanceof
                           value="org.eclipse.egit.ui.internal.repository.tree.RemoteNode">
                     </instanceof>
                  </iterate>
               </and>
         </activeWhen>
      </handler>
      <handler
            commandId="org.eclipse.ui.edit.rename">
         <class
               class="org.eclipse.egit.ui.internal.repository.tree.command.RenameBranchCommand">
         </class>
         <activeWhen>
             <and>
                  <count
                        value="1">
                  </count>
                  <iterate>
                     <instanceof
                           value="org.eclipse.egit.ui.internal.repository.tree.RefNode">
                     </instanceof>
                  </iterate>
               </and>
         </activeWhen>
      </handler>
      <handler
            commandId="org.eclipse.egit.ui.team.submodule.update">
         <class
               class="org.eclipse.egit.ui.internal.repository.tree.command.SubmoduleUpdateCommand">
         </class>
         <activeWhen>
             <and>
                  <count
                        value="+">
                  </count>
                  <iterate>
                     <or>
                        <and>
                           <instanceof
                                 value="org.eclipse.egit.ui.internal.repository.tree.RepositoryNode">
                           </instanceof>
                           <test
                                 property="GitRepository.isSubmodule">
                           </test>
                        </and>
                        <instanceof
                              value="org.eclipse.egit.ui.internal.repository.tree.SubmodulesNode">
                        </instanceof>
                     </or>
                  </iterate>
               </and>
         </activeWhen>
      </handler>
      <handler
            commandId="org.eclipse.egit.ui.team.submodule.sync">
         <class
               class="org.eclipse.egit.ui.internal.repository.tree.command.SubmoduleSyncCommand">
         </class>
         <activeWhen>
             <and>
                  <count
                        value="+">
                  </count>
                  <iterate>
                     <or>
                        <and>
                           <instanceof
                                 value="org.eclipse.egit.ui.internal.repository.tree.RepositoryNode">
                           </instanceof>
                           <test
                                 property="GitRepository.isSubmodule">
                           </test>
                        </and>
                        <instanceof
                              value="org.eclipse.egit.ui.internal.repository.tree.SubmodulesNode">
                        </instanceof>
                     </or>
                  </iterate>
               </and>
         </activeWhen>
      </handler>
      <handler
            commandId="org.eclipse.egit.ui.team.submodule.add">
         <class
               class="org.eclipse.egit.ui.internal.repository.tree.command.SubmoduleAddCommand">
         </class>
         <activeWhen>
             <and>
                  <count
                        value="1">
                  </count>
                  <iterate>
                     <or>
                        <and>
                           <instanceof
                                 value="org.eclipse.egit.ui.internal.repository.tree.RepositoryNode">
                           </instanceof>
                           <not>
                              <test
                                    property="GitRepository.isSubmodule">
                              </test>
                           </not>
                           <not>
                              <test
                                    property="GitRepository.isBare">
                              </test>
                           </not>
                        </and>
                        <instanceof
                              value="org.eclipse.egit.ui.internal.repository.tree.SubmodulesNode">
                        </instanceof>
                     </or>
                  </iterate>
               </and>
         </activeWhen>
      </handler>
      <handler
            commandId="org.eclipse.egit.ui.team.clean">
         <class
               class="org.eclipse.egit.ui.internal.repository.tree.command.CleanCommand">
         </class>
         <activeWhen>
             <and>
                  <count
                        value="1">
                  </count>
                  <iterate>
                     <and>
                        <instanceof
                              value="org.eclipse.egit.ui.internal.repository.tree.RepositoryNode">
                        </instanceof>
                        <not>
                           <test
                                 property="GitRepository.isBare">
                           </test>
                        </not>
                     </and>
                  </iterate>
               </and>
         </activeWhen>
      </handler>
      <handler
            commandId="org.eclipse.egit.ui.team.stash.create">
         <class
               class="org.eclipse.egit.ui.internal.repository.tree.command.StashCreateCommand">
         </class>
         <activeWhen>
             <and>
                  <count
                        value="1">
                  </count>
                  <iterate>
                     <and>
                        <instanceof
                              value="org.eclipse.egit.ui.internal.repository.tree.RepositoryNode">
                        </instanceof>
                        <not>
                           <test
                                 property="GitRepository.isSubmodule">
                           </test>
                        </not>
                        <not>
                           <test
                                 property="GitRepository.isBare">
                           </test>
                        </not>
                        <test
                              property="GitRepository.canStash">
                        </test>
                        <test
                              property="GitRepository.containsHead">
                        </test>
                     </and>
                  </iterate>
               </and>
         </activeWhen>
      </handler>
      <handler
            commandId="org.eclipse.egit.ui.team.stash.apply">
         <class
               class="org.eclipse.egit.ui.internal.repository.tree.command.StashApplyCommand">
         </class>
         <activeWhen>
             <and>
                  <count
                        value="1">
                  </count>
                  <iterate>
                     <and>
                        <instanceof
                              value="org.eclipse.egit.ui.internal.repository.tree.StashedCommitNode">
                        </instanceof>
                        <not>
                           <test
                                 property="GitRepository.isBare">
                           </test>
                        </not>
                        <test
                              property="GitRepository.isSafe">
                        </test>
                     </and>
                  </iterate>
               </and>
         </activeWhen>
      </handler>
      <handler
            commandId="org.eclipse.ui.edit.delete">
         <class
               class="org.eclipse.egit.ui.internal.repository.tree.command.StashDropCommand">
         </class>
         <activeWhen>
             <and>
                  <count
                        value="1">
                  </count>
                  <iterate>
                     <and>
                        <instanceof
                              value="org.eclipse.egit.ui.internal.repository.tree.StashedCommitNode">
                        </instanceof>
                        <not>
                           <test
                                 property="GitRepository.isBare">
                           </test>
                        </not>
                        <test
                              property="GitRepository.isSafe">
                        </test>
                     </and>
                  </iterate>
               </and>
         </activeWhen>
      </handler>
      <handler
            commandId="org.eclipse.egit.ui.internal.reflog.CopyCommand">
         <class
               class="org.eclipse.egit.ui.internal.reflog.command.CopyHandler">
         </class>
         <activeWhen>
            <and>
               <count
                     value="1">
               </count>
               <iterate>
                  <adapt
                        type="org.eclipse.jgit.lib.ReflogEntry">
                  </adapt>
               </iterate>
            </and>
         </activeWhen>
      </handler>
      <handler
            commandId="org.eclipse.egit.ui.team.GarbageCollect">
         <class
               class="org.eclipse.egit.ui.internal.repository.tree.command.GarbageCollectCommand">
         </class>
         <activeWhen>
             <and>
                  <count
                        value="+">
                  </count>
                  <iterate>
                     <and>
                        <instanceof
                              value="org.eclipse.egit.ui.internal.repository.tree.RepositoryNode">
                        </instanceof>
                        <test
                              property="GitRepository.isSafe">
                        </test>
                        <test
                              property="GitRepository.containsHead">
                        </test>
                     </and>
                  </iterate>
               </and>
         </activeWhen>
      </handler>
      <handler
            class="org.eclipse.egit.ui.internal.actions.UntrackActionHandler"
            commandId="org.eclipse.egit.ui.team.Untrack">
         <activeWhen>
            <iterate>
               <adapt type="org.eclipse.core.resources.IResource">
               <test
                  property="org.eclipse.core.resources.projectPersistentProperty"
                  args="org.eclipse.team.core.repository, org.eclipse.egit.core.GitProvider">
               </test>
               </adapt>
            </iterate>
         </activeWhen>
      </handler>
      <handler
            class="org.eclipse.egit.ui.internal.actions.DisconnectActionHandler"
            commandId="org.eclipse.egit.ui.team.Disconnect">
         <activeWhen>
            <iterate>
               <adapt
                     type="org.eclipse.core.resources.IProject">
               </adapt>
            </iterate>
         </activeWhen>
      </handler>
   </extension>
   <extension
         point="org.eclipse.ui.views">
      <view
            category="org.eclipse.egit.ui.GitCategory"
            class="org.eclipse.egit.ui.internal.repository.RepositoriesView"
            icon="icons/eview16/repo_rep.gif"
            id="org.eclipse.egit.ui.RepositoriesView"
            name="%GitRepositoriesView_name"
            restorable="true">
      </view>
      <view
            category="org.eclipse.egit.ui.GitCategory"
            class="org.eclipse.egit.ui.internal.staging.StagingView"
            icon="icons/eview16/staging.png"
            id="org.eclipse.egit.ui.StagingView"
            name="%GitStagingView_name">
      </view>
      <category
            id="org.eclipse.egit.ui.GitCategory"
            name="%GitCategory_name">
      </category>
      <view
            category="org.eclipse.egit.ui.GitCategory"
            class="org.eclipse.egit.ui.internal.dialogs.CompareTreeView"
            icon="icons/obj16/gitrepository.gif"
            id="org.eclipse.egit.ui.CompareTreeView"
            name="%TreeCompareView.name"
            restorable="false">
      </view>
      <view
            allowMultiple="false"
            category="org.eclipse.egit.ui.GitCategory"
            class="org.eclipse.egit.ui.internal.reflog.ReflogView"
            icon="icons/eview16/reflog.gif"
            id="org.eclipse.egit.ui.ReflogView"
            name="%ReflogView">
      </view>
   </extension>
   <extension
         point="org.eclipse.ui.perspectives">
      <perspective
            class="org.eclipse.egit.ui.GitRepositoriesPerspectiveFactory"
            icon="icons/obj16/gitrepository.gif"
            id="org.eclipse.egit.ui.GitRepositoryExploring"
            name="%GitRepositoryPerspective_name">
      </perspective>
   </extension>
   <extension
         point="org.eclipse.ui.perspectiveExtensions">
      <perspectiveExtension
            targetID="org.eclipse.ui.resourcePerspective">
         <showInPart
               id="org.eclipse.egit.ui.RepositoriesView">
         </showInPart>
      </perspectiveExtension>
      <perspectiveExtension
            targetID="org.eclipse.jdt.ui.JavaPerspective">
         <showInPart
               id="org.eclipse.egit.ui.RepositoriesView">
         </showInPart>
         <view
               id="org.eclipse.egit.ui.RepositoriesView"
               minimized="false"
               ratio="0.6"
               relationship="bottom"
               relative="org.eclipse.jdt.ui.PackageExplorer"
               visible="false">
         </view>
      </perspectiveExtension>
      <perspectiveExtension
            targetID="org.eclipse.debug.ui.DebugPerspective">
         <showInPart
               id="org.eclipse.egit.ui.RepositoriesView">
         </showInPart>
      </perspectiveExtension>
      <perspectiveExtension
            targetID="org.eclipse.pde.ui.PDEPerspective">
         <showInPart
               id="org.eclipse.egit.ui.RepositoriesView">
         </showInPart>
         <view
               id="org.eclipse.egit.ui.RepositoriesView"
               minimized="false"
               ratio="0.6"
               relationship="bottom"
               relative="org.eclipse.jdt.ui.PackageExplorer"
               visible="false">
         </view>
      </perspectiveExtension>
   </extension>
   <extension
         point="org.eclipse.ui.navigator.navigatorContent">
      <navigatorContent
            contentProvider="org.eclipse.egit.ui.internal.repository.RepositoriesViewContentProvider"
            icon="icons/obj16/repository_rep.gif"
            id="org.eclipse.egit.ui.RepositoriesViewContent"
            labelProvider="org.eclipse.egit.ui.internal.repository.RepositoriesViewLabelProvider"
            name="%GitRepositoriesContentName">
         <enablement>
            <or>
               <instanceof
                     value="org.eclipse.egit.ui.internal.repository.tree.RepositoryTreeNode">
               </instanceof>
               <instanceof
                     value="org.eclipse.core.resources.IWorkspaceRoot">
               </instanceof>
            </or>
         </enablement>
         <commonSorter
               class="org.eclipse.egit.ui.internal.repository.tree.RepositoriesViewSorter">
         </commonSorter>
         <dropAssistant
               class="org.eclipse.egit.ui.internal.repository.DropAdapterAssistant"
               id="org.eclipse.egit.ui.repositoriesView.dropAssistant">
            <possibleDropTargets>
               <instanceof
                     value="org.eclipse.core.resources.IWorkspaceRoot">
               </instanceof></possibleDropTargets>
         </dropAssistant>
         <actionProvider
               class="org.eclipse.egit.ui.internal.repository.RepositoriesViewActionProvider">
         </actionProvider>
      </navigatorContent>
   </extension>
   <extension
         point="org.eclipse.ui.navigator.viewer">
      <viewer
            viewerId="org.eclipse.egit.ui.RepositoriesView">
         <options>
            <!-- Hide the "Available Customizations" dialog completely. This includes hiding the
            filters and the available content extensions. -->
            <property
               name="org.eclipse.ui.navigator.hideAvailableCustomizationsDialog"
               value="true"/>
            <!-- Hide the "Link with Editor" action from the toolbar of the viewer -->
            <property
               name="org.eclipse.ui.navigator.hideLinkWithEditorAction"
               value="true"/>
         </options>
         <popupMenu>
            <insertionPoint
                  name="branch"
                  separator="true">
            </insertionPoint>
            <insertionPoint
                  name="remotes"
                  separator="true">
            </insertionPoint>
            <insertionPoint
                  name="tag"
                  separator="true">
            </insertionPoint>
            <insertionPoint
                  name="remote"
                  separator="true">
            </insertionPoint>
            <insertionPoint
                  name="repo-0"
                  separator="true">
            </insertionPoint>
            <insertionPoint
                  name="repo-1"
                  separator="true">
            </insertionPoint>
            <insertionPoint
                  name="repo-commit"
                  separator="true">
            </insertionPoint>
            <insertionPoint
                  name="repo-2"
                  separator="true">
            </insertionPoint>
            <insertionPoint
                  name="repo-3"
                  separator="true">
            </insertionPoint>
            <insertionPoint
                  name="group.open"
                  separator="true">
            </insertionPoint>
            <insertionPoint
                  name="group.show"
                  separator="false">
            </insertionPoint>
            <insertionPoint
                  name="repo-4"
                  separator="true">
            </insertionPoint>
            <insertionPoint
                  name="repo-5"
                  separator="true">
            </insertionPoint>
            <insertionPoint
                  name="repo-6"
                  separator="true">
            </insertionPoint>
            <insertionPoint
                  name="group.properties"
                  separator="true">
            </insertionPoint>
         </popupMenu>
      </viewer>
      <viewerContentBinding
            viewerId="org.eclipse.egit.ui.RepositoriesView">
         <includes>
            <contentExtension
                  pattern="org.eclipse.egit.ui.RepositoriesViewContent">
            </contentExtension>
            <contentExtension
                  pattern="org.eclipse.egit.ui.RepositoriesViewLinkHelper">
            </contentExtension>
         </includes>
      </viewerContentBinding>
      <dragAssistant
            viewerId="org.eclipse.egit.ui.RepositoriesView"
            class="org.eclipse.egit.ui.internal.repository.RepositoryDragAssistant">
      </dragAssistant>
      <viewerActionBinding
            viewerId="org.eclipse.egit.ui.RepositoriesView">
         <includes>
            <actionExtension
                  pattern="org.eclipse.ui.navigator.resources.UndoRedoActionProvider">
            </actionExtension>
         </includes>
      </viewerActionBinding>
   </extension>
   <extension
         point="org.eclipse.ui.menus">
      <menuContribution
            locationURI="popup:org.eclipse.egit.ui.internal.reflogview.popup">
         <command
               commandId="org.eclipse.egit.ui.internal.reflog.CheckoutCommand"
               icon="icons/obj16/checkout.gif"
               label="%RefLogViewCheckout.label"
               style="push">
         </command>
         <command
               commandId="org.eclipse.egit.ui.internal.reflog.OpenInCommitViewerCommand"
               label="%RefLogViewOpenInCommitViewer.label"
               style="push">
         </command>
         <command
               commandId="org.eclipse.egit.ui.internal.reflog.CopyCommand"
               label="%ReflogCopyCommand.label"
               style="push">
         </command>
      </menuContribution>
      <menuContribution
            locationURI="popup:org.eclipse.egit.ui.RepositoriesView?after=branch">
         <command
               commandId="org.eclipse.egit.ui.CheckoutCommand"
               icon="icons/obj16/checkout.gif"
               label="%RepoViewCheckout.label"
               style="push">
            <visibleWhen
                  checkEnabled="false">
               <and>
                  <count
                        value="1">
                  </count>
                  <iterate>
                     <and>
                        <or>
                           <instanceof
                                 value="org.eclipse.egit.ui.internal.repository.tree.TagNode">
                           </instanceof>
                           <instanceof
                                 value="org.eclipse.egit.ui.internal.repository.tree.RefNode">
                           </instanceof>
                           <instanceof
                                 value="org.eclipse.egit.ui.internal.repository.tree.AdditionalRefNode">
                           </instanceof>
                        </or>
                        <not>
                           <test
                                 property="GitRepository.isRefCheckedOut">
                           </test>
                        </not>
                        <not>
                           <test
                                 property="GitRepository.isBare">
                           </test>
                        </not>
                     </and>
                  </iterate>
               </and>
            </visibleWhen>
         </command>
         <command
               commandId="org.eclipse.egit.ui.team.Push"
               icon="icons/obj16/push.gif"
               label="%RepoViewPushBranch.label"
               style="push">
            <visibleWhen
                  checkEnabled="false">
               <and>
                  <count
                        value="1">
                  </count>
                  <iterate>
                     <instanceof
                           value="org.eclipse.egit.ui.internal.repository.tree.RefNode">
                     </instanceof>
                  </iterate>
               </and>
            </visibleWhen>
         </command>
         <command
               commandId="org.eclipse.egit.ui.team.Push"
               icon="icons/obj16/push.gif"
               label="%RepoViewPushTag.label"
               style="push">
            <visibleWhen
                  checkEnabled="false">
               <and>
                  <count
                        value="1">
                  </count>
                  <iterate>
                     <instanceof
                           value="org.eclipse.egit.ui.internal.repository.tree.TagNode">
                     </instanceof>
                  </iterate>
               </and>
            </visibleWhen>
         </command>
         <command
               commandId="org.eclipse.egit.ui.RepositoriesViewCreateBranch"
               icon="icons/obj16/new_branch_obj.gif"
               label="%RepoViewCreateBranch.label"
               style="push">
            <visibleWhen
                  checkEnabled="false">
               <and>
                  <count
                        value="1">
                  </count>
                  <iterate>
                     <or>
                        <instanceof
                              value="org.eclipse.egit.ui.internal.repository.tree.RefNode">
                        </instanceof>
                        <instanceof
                              value="org.eclipse.egit.ui.internal.repository.tree.TagNode">
                        </instanceof>
                        <instanceof
                              value="org.eclipse.egit.ui.internal.repository.tree.AdditionalRefNode">
                        </instanceof>
                     </or>
                  </iterate>
               </and>
            </visibleWhen>
         </command>
         <command
               commandId="org.eclipse.ui.edit.rename"
               icon="icons/obj16/editconfig.gif"
               label="%RepoViewRenameBranch.label"
               style="push">
            <visibleWhen
                  checkEnabled="false">
               <and>
                  <count
                        value="1">
                  </count>
                  <iterate>
                     <instanceof
                           value="org.eclipse.egit.ui.internal.repository.tree.RefNode">
                     </instanceof>
                  </iterate>
               </and>
            </visibleWhen>
         </command>
         <command
               commandId="org.eclipse.egit.ui.RepositoriesViewConfigureBranch"
               label="%ConfigurBranchCommand.label"
               style="push">
            <visibleWhen
                  checkEnabled="false">
               <and>
                  <count
                        value="1">
                  </count>
                  <iterate>
                     <instanceof
                           value="org.eclipse.egit.ui.internal.repository.tree.RefNode">
                     </instanceof>
                  </iterate>
               </and>
            </visibleWhen>
         </command>
         <command
               commandId="org.eclipse.ui.edit.delete"
               label="%RepoViewDeleteBranch.label"
               style="push">
            <visibleWhen
                  checkEnabled="false">
               <and>
                  <count
                        value="+">
                  </count>
                  <iterate>
                     <and>
                        <or>
                           <instanceof
                                 value="org.eclipse.egit.ui.internal.repository.tree.RefNode">
                           </instanceof>
                           <test
                                 property="GitRepository.isLocalBranch">
                           </test>
                        </or>
                        <not>
                           <test
                                 property="GitRepository.isRefCheckedOut">
                           </test>
                        </not>
                     </and>
                  </iterate>
               </and>
            </visibleWhen>
         </command>
         <separator
               name="##Branch-2"
               visible="true">
         </separator>
         <command
               commandId="org.eclipse.egit.ui.team.Merge"
               icon="icons/obj16/merge.gif"
               label="%RepoViewMergeSimple.label"
               style="push">
            <visibleWhen
                  checkEnabled="false">
               <and>
                  <count
                        value="1">
                  </count>
                  <iterate>
                     <and>
                        <or>
                           <instanceof
                                 value="org.eclipse.egit.ui.internal.repository.tree.TagNode">
                           </instanceof>
                           <instanceof
                                 value="org.eclipse.egit.ui.internal.repository.tree.RefNode">
                           </instanceof>
                        </or>
                        <test
                              property="GitRepository.canMerge">
                        </test>
                        <not>
                           <test
                                 property="GitRepository.isRefCheckedOut">
                           </test>
                        </not>
                     </and>
                  </iterate>
               </and>
            </visibleWhen>
         </command>
         <command
               commandId="org.eclipse.ui.edit.delete"
               label="%DeleteTagCommand.name"
               style="push">
            <visibleWhen
                  checkEnabled="false">
               <and>
                  <count
                        value="+">
                  </count>
                  <iterate>
                     <instanceof
                           value="org.eclipse.egit.ui.internal.repository.tree.TagNode">
                     </instanceof>
                  </iterate>
               </and>
            </visibleWhen>
         </command>
         <command
               commandId="org.eclipse.egit.ui.RepositoriesViewRebase"
               icon="icons/obj16/rebase.gif"
               label="%RebaseCommand.label"
               style="push">
            <visibleWhen
                  checkEnabled="false">
               <and>
                  <count
                        value="1">
                  </count>
                  <iterate>
                     <and>
                        <test
                              property="GitRepository.canMerge">
                        </test>
                        <and>
                           <instanceof
                                 value="org.eclipse.egit.ui.internal.repository.tree.RefNode">
                           </instanceof>
                           <not>
                              <test
                                    property="GitRepository.isRefCheckedOut">
                              </test>
                           </not>
                        </and>
                     </and>
                  </iterate>
               </and>
            </visibleWhen>
         </command>
         <command
               commandId="org.eclipse.egit.ui.team.Synchronize"
               icon="icons/obj16/remotespec.gif"
               label="%RepoViewSynchronize.label"
               style="push">
            <visibleWhen
                  checkEnabled="false">
               <and>
                  <count
                        value="1">
                  </count>
                  <iterate>
                     <and>
                        <or>
                           <instanceof
                                 value="org.eclipse.egit.ui.internal.repository.tree.TagNode">
                           </instanceof>
                           <instanceof
                                 value="org.eclipse.egit.ui.internal.repository.tree.RefNode">
                           </instanceof>
                        </or>
                        <not>
                           <test
                                 property="GitRepository.isBare">
                           </test>
                        </not>
                     </and>
                  </iterate>
               </and>
            </visibleWhen>
         </command>
         <command
               commandId="org.eclipse.egit.ui.team.Synchronize"
               icon="icons/obj16/remotespec.gif"
               label="%RepoViewSynchronizeEachOther.label"
               style="push">
            <visibleWhen
                  checkEnabled="false">
               <and>
                  <count
                        value="2">
                  </count>
                  <iterate>
                     <and>
                        <or>
                           <instanceof
                                 value="org.eclipse.egit.ui.internal.repository.tree.TagNode">
                           </instanceof>
                           <instanceof
                                 value="org.eclipse.egit.ui.internal.repository.tree.RefNode">
                           </instanceof>
                        </or>
                        <not>
                           <test
                                 property="GitRepository.isBare">
                           </test>
                        </not>
                     </and>
                  </iterate>
               </and>
            </visibleWhen>
         </command>
      </menuContribution>
      <menuContribution
            locationURI="popup:org.eclipse.egit.ui.RepositoriesView?after=remotes">
                     <command
               commandId="org.eclipse.egit.ui.RepositoriesViewNewRemote"
               label="%RepoViewCreateRemote.label"
               style="push">
            <visibleWhen
                  checkEnabled="false">
               <and>
                  <count
                        value="1">
                  </count>
                  <iterate>
                     <instanceof
                           value="org.eclipse.egit.ui.internal.repository.tree.RemotesNode">
                     </instanceof>
                  </iterate>
               </and>
            </visibleWhen>
         </command>
         <command
               commandId="org.eclipse.egit.ui.team.SimplePush"
               icon="icons/obj16/push.gif"
               label="%RepoViewPushSimpleLabel"
               style="push">
            <visibleWhen
                  checkEnabled="false">
               <and>
                  <count
                        value="1">
                  </count>
                  <iterate
                        ifEmpty="false"
                        operator="and">
                     <or>
                        <instanceof
                              value="org.eclipse.egit.ui.internal.repository.tree.PushNode">
                        </instanceof>
                        <instanceof
                              value="org.eclipse.egit.ui.internal.repository.tree.RemoteNode">
                        </instanceof>
                     </or>
                  </iterate>
               </and>
            </visibleWhen>
         </command>
         <command
               commandId="org.eclipse.egit.ui.team.SimpleFetch"
               icon="icons/obj16/fetch.gif"
               label="%RepoViewFetchSimple.label"
               style="push">
            <visibleWhen
                  checkEnabled="false">
               <and>
                  <count
                        value="1">
                  </count>
                  <iterate
                        ifEmpty="false"
                        operator="and">
                     <or>
                        <instanceof
                              value="org.eclipse.egit.ui.internal.repository.tree.FetchNode">
                        </instanceof>
                        <instanceof
                              value="org.eclipse.egit.ui.internal.repository.tree.RemoteNode">
                        </instanceof>
                     </or>
                  </iterate>
               </and>
            </visibleWhen>
         </command>
      </menuContribution>
      <menuContribution
            locationURI="popup:org.eclipse.egit.ui.RepositoriesView?after=tag">
         <command
               commandId="org.eclipse.egit.ui.RepositoriesViewCreateTag"
               icon="icons/obj16/new_tag_obj.gif"
               label="%RepoViewCreateTag.label"
               style="push">
            <visibleWhen
                  checkEnabled="false">
               <and>
                  <count
                        value="1">
                  </count>
                  <iterate>
                     <or>
                        <instanceof
                              value="org.eclipse.egit.ui.internal.repository.tree.TagsNode">
                        </instanceof>
                     </or>
                  </iterate>
               </and>
            </visibleWhen>
         </command>
      </menuContribution>
      <menuContribution
            locationURI="popup:org.eclipse.egit.ui.RepositoriesView?after=remote">
         <command
               commandId="org.eclipse.egit.ui.RepositoriesViewConfigureFetch"
               icon="icons/obj16/editconfig.gif"
               label="%RepoViewConfigureFetch.label"
               style="push">
            <visibleWhen
                  checkEnabled="false">
               <and>
                  <count
                        value="1">
                  </count>
                  <iterate>
                     <or>
                        <and>
                           <instanceof
                                 value="org.eclipse.egit.ui.internal.repository.tree.RemoteNode">
                           </instanceof>
                           <not>
                              <test
                                    property="GitRepository.fetchExists">
                              </test>
                           </not>
                        </and>
                        <instanceof
                              value="org.eclipse.egit.ui.internal.repository.tree.FetchNode">
                        </instanceof>
                     </or>
                  </iterate>
               </and>
            </visibleWhen>
         </command>
         <command
               commandId="org.eclipse.egit.ui.RepositoriesViewConfigurePush"
               icon="icons/obj16/editconfig.gif"
               label="%RepoViewConfigurePush.label"
               style="push">
            <visibleWhen
                  checkEnabled="false">
               <and>
                  <count
                        value="1">
                  </count>
                  <iterate>
                     <or>
                        <instanceof
                              value="org.eclipse.egit.ui.internal.repository.tree.PushNode">
                        </instanceof>
                        <and>
                           <instanceof
                                 value="org.eclipse.egit.ui.internal.repository.tree.RemoteNode">
                           </instanceof>
                           <not>
                              <test
                                    property="GitRepository.pushExists">
                              </test>
                           </not>
                        </and>
                     </or>
                  </iterate>
               </and>
            </visibleWhen>
         </command>
         <command
               commandId="org.eclipse.egit.ui.RepositoriesViewChangeCredentials"
               label="%RepoViewChangeCredentialsLabel"
               style="push">
            <visibleWhen
                  checkEnabled="false">
               <and>
                  <count
                        value="1">
                  </count>
                  <iterate
                        ifEmpty="false"
                        operator="and">
                     <or>
                        <instanceof
                              value="org.eclipse.egit.ui.internal.repository.tree.PushNode">
                        </instanceof>
                        <instanceof
                              value="org.eclipse.egit.ui.internal.repository.tree.FetchNode">
                        </instanceof>
                     </or>
                  </iterate>
               </and>
            </visibleWhen>
         </command>
         <command
               commandId="org.eclipse.egit.ui.RepositoriesViewClearCredentials"
               label="%RepoViewClearCredentialsLabel"
               style="push">
            <visibleWhen
                  checkEnabled="false">
               <and>
                  <count
                        value="1">
                  </count>
                  <iterate
                        ifEmpty="false"
                        operator="and">
                     <or>
                        <instanceof
                              value="org.eclipse.egit.ui.internal.repository.tree.PushNode">
                        </instanceof>
                        <instanceof
                              value="org.eclipse.egit.ui.internal.repository.tree.FetchNode">
                        </instanceof>
                     </or>
                  </iterate>
               </and>
            </visibleWhen>
         </command>
         <command
               commandId="org.eclipse.ui.edit.delete"
               label="%RepoViewDeleteFetch.label"
               style="push">
            <visibleWhen
                  checkEnabled="false">
               <and>
                  <count
                        value="1">
                  </count>
                  <iterate
                        ifEmpty="false"
                        operator="and">
                     <instanceof
                           value="org.eclipse.egit.ui.internal.repository.tree.FetchNode">
                     </instanceof>
                  </iterate>
               </and>
            </visibleWhen>
         </command>
         <command
               commandId="org.eclipse.ui.edit.delete"
               label="%RepoViewDeletePush.label"
               style="push">
            <visibleWhen
                  checkEnabled="false">
               <and>
                  <count
                        value="1">
                  </count>
                  <iterate
                        ifEmpty="false"
                        operator="and">
                     <instanceof
                           value="org.eclipse.egit.ui.internal.repository.tree.PushNode">
                     </instanceof>
                  </iterate>
               </and>
            </visibleWhen>
         </command>
         <command
               commandId="org.eclipse.egit.ui.RepositoriesViewConfigureGerritRemote"
               label="%RepoViewConfigureGerritRemote.label"
               style="push">
            <visibleWhen
                  checkEnabled="false">
               <and>
                  <count
                        value="1">
                  </count>
                  <iterate
                        ifEmpty="false"
                        operator="and">
                     <instanceof
                           value="org.eclipse.egit.ui.internal.repository.tree.RemoteNode">
                     </instanceof>
                  </iterate>
               </and>
            </visibleWhen>
         </command>
         <command
               commandId="org.eclipse.ui.edit.delete"
               label="%RepoViewRemoveRemote.label"
               style="push">
            <visibleWhen
                  checkEnabled="false">
               <and>
                  <count
                        value="1">
                  </count>
                  <iterate
                        ifEmpty="false"
                        operator="and">
                     <instanceof
                           value="org.eclipse.egit.ui.internal.repository.tree.RemoteNode">
                     </instanceof>
                  </iterate>
               </and>
            </visibleWhen>
         </command>
      </menuContribution>
      <menuContribution
            locationURI="popup:org.eclipse.egit.ui.RepositoriesView?after=repo-0">
         <menu
               icon="icons/obj16/branches_obj.gif"
               label="%SwitchToMenu.label">
            <dynamic
                  class="org.eclipse.egit.ui.internal.actions.SwitchToMenu"
                  id="org.eclipse.egit.ui.switchToMenu">
            </dynamic>
            <visibleWhen
                  checkEnabled="false">
               <and>
                  <count
                        value="1">
                  </count>
                  <iterate
                        ifEmpty="false"
                        operator="and">
                     <or>
                        <instanceof
                              value="org.eclipse.egit.ui.internal.repository.tree.RepositoryNode">
                        </instanceof>
                        <instanceof
                              value="org.eclipse.egit.ui.internal.repository.tree.BranchesNode">
                        </instanceof>
                        <instanceof
                              value="org.eclipse.egit.ui.internal.repository.tree.LocalNode">
                        </instanceof>
                     </or>
                  </iterate>
               </and>
            </visibleWhen>
         </menu>
      </menuContribution>
      <menuContribution
            locationURI="popup:org.eclipse.egit.ui.RepositoriesView?after=repo-1">
         <command
               commandId="org.eclipse.egit.ui.team.Commit"
               icon="icons/obj16/commit.gif"
               label="%RepoViewCommit.label"
               style="push">
            <visibleWhen
                  checkEnabled="false">
               <and>
                  <count
                        value="1">
                  </count>
                  <iterate
                        ifEmpty="false"
                        operator="and">
                     <instanceof
                           value="org.eclipse.egit.ui.internal.repository.tree.RepositoryNode">
                     </instanceof>
                  </iterate>
               </and>
            </visibleWhen>
         </command>
        <command
               commandId="org.eclipse.egit.ui.team.clean"
               label="%CleanCommand.label"
               style="push">
            <visibleWhen
                  checkEnabled="false">
               <and>
                  <count
                        value="1">
                  </count>
                  <iterate>
                     <and>
                        <instanceof
                              value="org.eclipse.egit.ui.internal.repository.tree.RepositoryNode">
                        </instanceof>
                        <not>
                           <test
                                 property="GitRepository.isBare">
                           </test>
                        </not>
                     </and>
                  </iterate>
               </and>
            </visibleWhen>
         </command>
         <command
               commandId="org.eclipse.egit.ui.team.stash.create"
               label="%StashCreateCommand.label"
               style="push">
            <visibleWhen
                  checkEnabled="false">
               <and>
                  <count
                        value="1">
                  </count>
                  <iterate>
                     <and>
                        <instanceof
                              value="org.eclipse.egit.ui.internal.repository.tree.RepositoryNode">
                        </instanceof>
                        <not>
                           <test
                                 property="GitRepository.isSubmodule">
                           </test>
                        </not>
                        <not>
                           <test
                                 property="GitRepository.isBare">
                           </test>
                        </not>
                        <test
                              property="GitRepository.canStash">
                        </test>
                        <test
                              property="GitRepository.containsHead">
                        </test>
                     </and>
                  </iterate>
               </and>
            </visibleWhen>
         </command>
         <command
               commandId="org.eclipse.egit.ui.team.stash.apply"
               label="%StashApplyCommand.label"
               style="push">
            <visibleWhen
                  checkEnabled="false">
               <and>
                  <count
                        value="1">
                  </count>
                  <iterate>
                     <and>
                        <instanceof
                              value="org.eclipse.egit.ui.internal.repository.tree.StashedCommitNode">
                        </instanceof>
                        <not>
                           <test
                                 property="GitRepository.isBare">
                           </test>
                        </not>
                        <test
                              property="GitRepository.isSafe">
                        </test>
                     </and>
                  </iterate>
               </and>
            </visibleWhen>
         </command>
         <command
               commandId="org.eclipse.ui.edit.delete"
               label="%StashDropCommand.label"
               style="push">
            <visibleWhen
                  checkEnabled="false">
               <and>
                  <count
                        value="1">
                  </count>
                  <iterate>
                     <and>
                        <instanceof
                              value="org.eclipse.egit.ui.internal.repository.tree.StashedCommitNode">
                        </instanceof>
                        <not>
                           <test
                                 property="GitRepository.isBare">
                           </test>
                        </not>
                        <test
                              property="GitRepository.isSafe">
                        </test>
                     </and>
                  </iterate>
               </and>
            </visibleWhen>
         </command>
      </menuContribution>
      <menuContribution
            locationURI="popup:org.eclipse.egit.ui.RepositoriesView?after=repo-commit">
         <command
               commandId="org.eclipse.egit.ui.team.SimplePush"
               icon="icons/obj16/push.gif"
               label="%PushToUpstreamCommand.label"
               style="push">
            <visibleWhen
                  checkEnabled="false">
               <and>
                  <count
                        value="1">
                  </count>
                  <iterate
                        ifEmpty="false"
                        operator="and">
                     <instanceof
                           value="org.eclipse.egit.ui.internal.repository.tree.RepositoryNode">
                     </instanceof>
                  </iterate>
               </and>
            </visibleWhen>
         </command>
         <command
               commandId="org.eclipse.egit.ui.team.SimpleFetch"
               icon="icons/obj16/fetch.gif"
               label="%FetchFromUpstreamCommand.label"
               style="push">
            <visibleWhen
                  checkEnabled="false">
               <and>
                  <count
                        value="1">
                  </count>
                  <iterate
                        ifEmpty="false"
                        operator="and">
                     <instanceof
                           value="org.eclipse.egit.ui.internal.repository.tree.RepositoryNode">
                     </instanceof>
                  </iterate>
               </and>
            </visibleWhen>
         </command>
         <command
               commandId="org.eclipse.egit.ui.PushHeadToGerrit"
               label="%PushToGerritMenu.label"
               style="push">
            <visibleWhen
                  checkEnabled="false">
               <and>
                  <count
                        value="1">
                  </count>
                  <iterate>
                     <and>
                        <instanceof
                              value="org.eclipse.egit.ui.internal.repository.tree.RepositoryNode">
                        </instanceof>
                        <test
                              property="GitRepository.hasGerritConfiguration">
                        </test>
                     </and>
                  </iterate>
               </and>
            </visibleWhen>
         </command>
         <command
               commandId="org.eclipse.egit.ui.FetchGerritChange"
               label="%FetchFromGerritCommand.label"
               style="push">
            <visibleWhen
                  checkEnabled="false">
               <and>
                  <count
                        value="1">
                  </count>
                  <iterate>
                     <and>
                        <instanceof
                              value="org.eclipse.egit.ui.internal.repository.tree.RepositoryNode">
                        </instanceof>
                        <test
                              property="GitRepository.hasGerritConfiguration">
                        </test>
                     </and>
                  </iterate>
               </and>
            </visibleWhen>
         </command>
         <command
               commandId="org.eclipse.egit.ui.team.Pull"
               icon="icons/obj16/pull.gif"
               label="%RepoViewPullMenu.label"
               style="push">
            <visibleWhen
                  checkEnabled="false">
               <and>
                  <count
                        value="+">
                  </count>
                  <iterate>
                     <and>
                        <instanceof
                              value="org.eclipse.egit.ui.internal.repository.tree.RepositoryNode">
                        </instanceof>
                        <test
                              property="GitRepository.canMerge">
                        </test>
                     </and>
                  </iterate>
               </and>
            </visibleWhen>
         </command>
         <menu
               label="%RemoteSubMenu.label">
            <command
                  commandId="org.eclipse.egit.ui.team.Push"
                  icon="icons/obj16/push.gif"
                  label="%RepoViewPush.label"
                  style="push">
               <visibleWhen
                     checkEnabled="false">
                  <and>
                     <count
                           value="1">
                     </count>
                     <iterate>
                        <instanceof
                              value="org.eclipse.egit.ui.internal.repository.tree.RepositoryNode">
                        </instanceof>
                     </iterate>
                  </and>
               </visibleWhen>
            </command>
            <command
                  commandId="org.eclipse.egit.ui.team.Fetch"
                  icon="icons/obj16/fetch.gif"
                  label="%RepoViewFetch.label"
                  style="push">
               <visibleWhen
                     checkEnabled="false">
                  <and>
                     <count
                           value="1">
                     </count>
                     <iterate
                           ifEmpty="false"
                           operator="and">
                        <instanceof
                              value="org.eclipse.egit.ui.internal.repository.tree.RepositoryNode">
                        </instanceof>
                     </iterate>
                  </and>
               </visibleWhen>
            </command>
         </menu>
      </menuContribution>
      <menuContribution
            locationURI="popup:org.eclipse.egit.ui.RepositoriesView?after=repo-2">
         <command
               commandId="org.eclipse.egit.ui.team.Merge"
               icon="icons/obj16/merge.gif"
               label="%RepoViewMerge.label"
               style="push">
            <visibleWhen
                  checkEnabled="false">
               <and>
                  <count
                        value="1">
                  </count>
                  <iterate>
                     <and>
                        <test
                              property="GitRepository.canMerge">
                        </test>
                        <or>
                           <instanceof
                                 value="org.eclipse.egit.ui.internal.repository.tree.RepositoryNode">
                           </instanceof>
                           <and>
                              <instanceof
                                    value="org.eclipse.egit.ui.internal.repository.tree.RefNode">
                              </instanceof>
                              <test
                                    property="GitRepository.isRefCheckedOut">
                              </test>
                           </and>
                        </or>
                     </and>
                  </iterate>
               </and>
            </visibleWhen>
         </command>
         <command
               commandId="org.eclipse.egit.ui.RepositoriesViewRebase"
               icon="icons/obj16/rebase.gif"
               label="%RebaseCommand.label2"
               style="push">
            <visibleWhen
                  checkEnabled="false">
               <or>
                  <and>
                     <count
                           value="1">
                     </count>
                     <iterate>
                        <and>
                           <test
                                 property="GitRepository.canMerge">
                           </test>
                           <instanceof
                                 value="org.eclipse.egit.ui.internal.repository.tree.RepositoryNode">
                           </instanceof>
                        </and>
                     </iterate>
                  </and>
                  <and>
                     <count
                           value="1">
                     </count>
                     <iterate>
                        <and>
                           <test
                                 property="GitRepository.canMerge">
                           </test>
                           <test
                                 property="GitRepository.isRefCheckedOut">
                           </test>
                           <instanceof
                                 value="org.eclipse.egit.ui.internal.repository.tree.RefNode">
                           </instanceof>
                           <test
                                 property="GitRepository.isLocalBranch">
                           </test>
                        </and>
                     </iterate>
                  </and>
               </or>
            </visibleWhen>
         </command>
         <menu
               icon="icons/obj16/rebase.gif"
               label="%RebaseMenu.label">
            <command
                  commandId="org.eclipse.egit.ui.org.eclipse.egit.ui.AbortRebase"
                  label="%AbortCommand.label"
                  style="push">
               <visibleWhen
                     checkEnabled="false">
                  <and>
                     <count
                           value="1">
                     </count>
                     <iterate>
                        <and>
                           <instanceof
                                 value="org.eclipse.egit.ui.internal.repository.tree.RepositoryNode">
                           </instanceof>
                           <test
                                 property="GitRepository.canAbortRebase">
                           </test>
                        </and>
                     </iterate>
                  </and>
               </visibleWhen>
            </command>
            <command
                  commandId="org.eclipse.egit.ui.ContinueRebase"
                  label="%ContinueCommand.label"
                  style="push">
               <visibleWhen
                     checkEnabled="false">
                  <and>
                     <count
                           value="1">
                     </count>
                     <iterate>
                        <and>
                           <instanceof
                                 value="org.eclipse.egit.ui.internal.repository.tree.RepositoryNode">
                           </instanceof>
                           <test
                                 property="GitRepository.canContinueRebase">
                           </test>
                        </and>
                     </iterate>
                  </and>
               </visibleWhen>
            </command>
            <command
                  commandId="org.eclipse.egit.ui.SkipRebase"
                  label="%SkipCommand.label"
                  style="push">
               <visibleWhen
                     checkEnabled="false">
                  <and>
                     <count
                           value="1">
                     </count>
                     <iterate>
                        <and>
                           <instanceof
                                 value="org.eclipse.egit.ui.internal.repository.tree.RepositoryNode">
                           </instanceof>
                           <test
                                 property="GitRepository.canAbortRebase">
                           </test>
                        </and>
                     </iterate>
                  </and>
               </visibleWhen>
            </command>
         </menu>
         <command
               commandId="org.eclipse.egit.ui.team.Reset"
               icon="icons/obj16/reset.gif"
               label="%RepoViewReset.label"
               style="push">
            <visibleWhen
                  checkEnabled="false">
               <and>
                  <count
                        value="1">
                  </count>
                  <iterate>
                     <and>
                        <test
                              property="GitRepository.canResetHead">
                        </test>
                        <or>
                           <instanceof
                                 value="org.eclipse.egit.ui.internal.repository.tree.RefNode">
                           </instanceof>
                           <instanceof
                                 value="org.eclipse.egit.ui.internal.repository.tree.TagNode">
                           </instanceof>
                           <instanceof
                                 value="org.eclipse.egit.ui.internal.repository.tree.RepositoryNode">
                           </instanceof>
                        </or>
                     </and>
                  </iterate>
               </and>
            </visibleWhen>
         </command>
      </menuContribution>
      <menuContribution
            locationURI="popup:org.eclipse.egit.ui.RepositoriesView?after=repo-3">
         <command
               commandId="org.eclipse.egit.ui.RepositoriesViewAddToIndex"
               icon="/icons/obj16/add.gif"
               label="%RepoViewAddToIndex.label"
               style="push">
            <visibleWhen
                  checkEnabled="false">
               <and>
                  <count
                        value="+">
                  </count>
                  <iterate
                        ifEmpty="false"
                        operator="and">
                     <or>
                        <instanceof
                              value="org.eclipse.egit.ui.internal.repository.tree.FileNode">
                        </instanceof>
                        <instanceof
                              value="org.eclipse.egit.ui.internal.repository.tree.FolderNode">
                        </instanceof>
                        <instanceof
                              value="org.eclipse.egit.ui.internal.repository.tree.WorkingDirNode">
                        </instanceof>
                     </or>
                  </iterate>
               </and>
            </visibleWhen>
         </command>
         <command
               commandId="org.eclipse.ui.edit.delete"
               label="%RepoViewDeleteFile.label"
               style="push">
            <visibleWhen
                  checkEnabled="false">
               <and>
                  <count
                        value="+">
                  </count>
                  <iterate
                        ifEmpty="false"
                        operator="and">
                     <or>
                        <instanceof
                              value="org.eclipse.egit.ui.internal.repository.tree.FileNode">
                        </instanceof>
                        <instanceof
                              value="org.eclipse.egit.ui.internal.repository.tree.FolderNode">
                        </instanceof>
                     </or>
                  </iterate>
               </and>
            </visibleWhen>
         </command>
         <command
               commandId="org.eclipse.egit.ui.RepositoriesViewImportProjects"
               icon="icons/obj16/import_prj.gif"
               label="%RepoViewImportProjects.label"
               style="push">
            <visibleWhen
                  checkEnabled="false">
               <and>
                  <count
                        value="1">
                  </count>
                  <iterate>
                     <or>
                        <instanceof
                              value="org.eclipse.egit.ui.internal.repository.tree.RepositoryNode">
                        </instanceof>
                        <instanceof
                              value="org.eclipse.egit.ui.internal.repository.tree.WorkingDirNode">
                        </instanceof>
                        <instanceof
                              value="org.eclipse.egit.ui.internal.repository.tree.FolderNode">
                        </instanceof>
                     </or>
                  </iterate>
                  <iterate>
                     <not>
                        <test
                              property="GitRepository.isBare">
                        </test>
                     </not>
                  </iterate>
               </and>
            </visibleWhen>
         </command>
      </menuContribution>
      <menuContribution
            locationURI="popup:org.eclipse.egit.ui.RepositoriesView?after=group.open">
         <command
               commandId="org.eclipse.egit.ui.RepositoriesViewOpenInEditor"
               label="%RepoViewOpenInEditor.label"
               style="push">
            <visibleWhen
                  checkEnabled="false">
               <and>
                  <count
                        value="1">
                  </count>
                  <iterate
                        ifEmpty="false"
                        operator="and">
                     <instanceof
                           value="org.eclipse.egit.ui.internal.repository.tree.FileNode">
                     </instanceof>
                  </iterate>
               </and>
            </visibleWhen>
         </command>
      </menuContribution>
      <menuContribution
            locationURI="popup:org.eclipse.egit.ui.RepositoriesView?after=repo-4">
         <command
               commandId="org.eclipse.egit.ui.team.GarbageCollect"
               label="%GarbageCollectCommand.label"
               style="push">
            <visibleWhen
                  checkEnabled="false">
               <and>
                  <count
                        value="+">
                  </count>
                  <iterate>
                     <instanceof
                           value="org.eclipse.egit.ui.internal.repository.tree.RepositoryNode">
                     </instanceof>
                  </iterate>
               </and>
            </visibleWhen>
         </command>
         <command
               commandId="org.eclipse.egit.ui.RepositoriesViewRemove"
               label="%RepoViewRemove.label"
               style="push">
            <visibleWhen
                  checkEnabled="false">
               <and>
                  <count
                        value="+">
                  </count>
                  <iterate>
                     <instanceof
                           value="org.eclipse.egit.ui.internal.repository.tree.RepositoryNode">
                     </instanceof>
                  </iterate>
               </and>
            </visibleWhen>
         </command>
         <command
               commandId="org.eclipse.egit.ui.RepositoriesViewDelete"
               label="%RepoViewDeleteRepository.label"
               style="push">
            <visibleWhen
                  checkEnabled="false">
               <and>
                  <count
                        value="1">
                  </count>
                  <iterate>
                     <instanceof
                           value="org.eclipse.egit.ui.internal.repository.tree.RepositoryNode">
                     </instanceof>
                  </iterate>
               </and>
            </visibleWhen>
         </command>
      </menuContribution>
      <menuContribution
            locationURI="popup:org.eclipse.egit.ui.RepositoriesView?after=repo-5">
         <command
               commandId="org.eclipse.egit.ui.team.submodule.add"
               label="%SubmoduleAddCommand.label"
               style="push">
            <visibleWhen
                  checkEnabled="false">
               <and>
                  <count
                        value="1">
                  </count>
                  <iterate>
                     <or>
                        <and>
                           <instanceof
                                 value="org.eclipse.egit.ui.internal.repository.tree.RepositoryNode">
                           </instanceof>
                           <not>
                              <test
                                    property="GitRepository.isSubmodule">
                              </test>
                           </not>
                           <not>
                              <test
                                    property="GitRepository.isBare">
                              </test>
                           </not>
                        </and>
                        <instanceof
                              value="org.eclipse.egit.ui.internal.repository.tree.SubmodulesNode">
                        </instanceof>
                     </or>
                  </iterate>
               </and>
            </visibleWhen>
         </command>
         <command
               commandId="org.eclipse.egit.ui.team.submodule.sync"
               label="%SubmoduleSyncCommand.label"
               style="push">
            <visibleWhen
                  checkEnabled="false">
               <and>
                  <count
                        value="+">
                  </count>
                  <iterate>
                     <or>
                        <and>
                           <instanceof
                                 value="org.eclipse.egit.ui.internal.repository.tree.RepositoryNode">
                           </instanceof>
                           <test
                                 property="GitRepository.isSubmodule">
                           </test>
                        </and>
                        <instanceof
                              value="org.eclipse.egit.ui.internal.repository.tree.SubmodulesNode">
                        </instanceof>
                     </or>
                  </iterate>
               </and>
            </visibleWhen>
         </command>
         <command
               commandId="org.eclipse.egit.ui.team.submodule.update"
               label="%SubmoduleUpdateCommand.label"
               style="push">
            <visibleWhen
                  checkEnabled="false">
               <and>
                  <count
                        value="+">
                  </count>
                  <iterate>
                     <or>
                        <and>
                           <instanceof
                                 value="org.eclipse.egit.ui.internal.repository.tree.RepositoryNode">
                           </instanceof>
                           <test
                                 property="GitRepository.isSubmodule">
                           </test>
                        </and>
                        <instanceof
                              value="org.eclipse.egit.ui.internal.repository.tree.SubmodulesNode">
                        </instanceof>
                     </or>
                  </iterate>
               </and>
            </visibleWhen>
         </command>
      </menuContribution>
      <menuContribution
            locationURI="popup:org.eclipse.egit.ui.RepositoriesView?after=repo-6">
         <command
               commandId="org.eclipse.egit.ui.RepositoriesViewCopyPath"
               label="%RepoViewCopyPath.label"
               style="push">
            <visibleWhen
                  checkEnabled="false">
               <and>
                  <count
                        value="1">
                  </count>
                  <iterate>
                     <or>
                        <instanceof
                              value="org.eclipse.egit.ui.internal.repository.tree.RepositoryNode">
                        </instanceof>
                        <instanceof
                              value="org.eclipse.egit.ui.internal.repository.tree.FileNode">
                        </instanceof>
                        <instanceof
                              value="org.eclipse.egit.ui.internal.repository.tree.FolderNode">
                        </instanceof>
                        <and>
                           <instanceof
                                 value="org.eclipse.egit.ui.internal.repository.tree.WorkingDirNode">
                           </instanceof>
                           <not>
                              <test
                                    property="GitRepository.isBare">
                              </test>
                           </not>
                        </and>
                     </or>
                  </iterate>
               </and>
            </visibleWhen>
         </command>
         <command
               commandId="org.eclipse.egit.ui.RepositoriesViewPaste"
               label="%RepoViewPastePath.label"
               style="push">
         </command>
      </menuContribution>
      <menuContribution
            locationURI="popup:org.eclipse.egit.ui.RepositoriesView?after=group.properties">
         <command
               commandId="org.eclipse.ui.file.properties"
               style="push">
            <visibleWhen
                  checkEnabled="false">
               <and>
                  <count
                        value="1">
                  </count>
                  <iterate>
                     <instanceof
                           value="org.eclipse.egit.ui.internal.repository.tree.RepositoryNode">
                     </instanceof>
                  </iterate>
               </and>
            </visibleWhen>
         </command>
      </menuContribution>
      <menuContribution
            locationURI="toolbar:org.eclipse.egit.ui.RepositoriesView">
         <separator
               name="org.eclipse.egit.ui.repositoryActions"
               visible="true">
         </separator>
         <command
               commandId="org.eclipse.egit.ui.RepositoriesViewAddRepository"
               style="push"
               tooltip="%RepoViewAddRepository.tooltip">
         </command>
         <command
               commandId="org.eclipse.egit.ui.RepositoriesViewClone"
               style="push"
               tooltip="%RepoViewCloneRepository.tooltip">
         </command>
         <command
               commandId="org.eclipse.egit.ui.RepositoriesViewCreateRepository"
               style="push"
               tooltip="%RepoViewCreateRepository.tooltip">
         </command>
         <separator
               name="org.eclipse.egit.ui.viewActions"
               visible="true">
         </separator>
         <command
               commandId="org.eclipse.egit.ui.RepositoriesViewRefresh"
               style="push">
         </command>
         <command
               commandId="org.eclipse.egit.ui.RepositoriesLinkWithSelection"
               style="toggle">
         </command>
         <separator
               name="org.eclipse.egit.ui.separator1"
               visible="true">
         </separator>
         <command
               commandId="org.eclipse.egit.ui.RepositoriesToggleBranchHierarchy"
               helpContextId="Hierarchical Branch Representation"
               style="toggle"
               tooltip="%RepoViewHierarchicalBranchRepresenation.tooltip">
         </command>
         <command
               commandId="org.eclipse.egit.ui.RepositoriesToggleBranchCommit"
               style="toggle"
               tooltip="%RepoViewBranchCommit.tooltip">
         </command>
      </menuContribution>
      <menuContribution
            locationURI="menu:org.eclipse.egit.ui.RepositoriesView">
         <command
               commandId="org.eclipse.egit.ui.RepositoriesViewAddRepository"
               label="%RepoAddRepositoryViewMenu.label"
               style="push">
         </command>
         <command
               commandId="org.eclipse.egit.ui.RepositoriesViewClone"
               label="%RepoCloneRepositoryViewMenu.label"
               style="push">
         </command>
         <command
               commandId="org.eclipse.egit.ui.RepositoriesViewCreateRepository"
               label="%RepoCreateRepositoryViewMenu.label"
               style="push">
         </command>
         <separator
               name="org.eclipse.egit.ui.viewActions"
               visible="true">
         </separator>
         <command
               commandId="org.eclipse.egit.ui.RepositoriesViewRefresh"
               label="%RepoViewRefreshViewMenu.label"
               style="push">
         </command>
         <command
               commandId="org.eclipse.egit.ui.RepositoriesLinkWithSelection"
               label="%RepoViewLinkWithSelectionMenu.label"
               style="toggle">
         </command>
         <separator
               name="org.eclipse.egit.ui.separator2"
               visible="true">
         </separator>
         <command
               commandId="org.eclipse.egit.ui.RepositoriesToggleBranchHierarchy"
               label="%HierarchyLayout.label"
               style="toggle">
         </command>
         <command
               commandId="org.eclipse.egit.ui.RepositoriesToggleBranchCommit"
               label="%BranchCommit.label"
               style="toggle">
         </command>
      </menuContribution>
      <menuContribution
            locationURI="popup:org.eclipse.ui.popup.any?after=additions">
         <menu
               id="team.main"
               label="%TeamMenu.label">
            <separator
                  name="group1"
                  visible="true">
            </separator>
            <command
                  commandId="org.eclipse.egit.ui.team.SimplePush"
                  label="%PushToUpstreamAction.label"
                  style="push">
               <visibleWhen
                     checkEnabled="false">
                  <reference
                        definitionId="org.eclipse.egit.ui.gitProject">
                  </reference>
               </visibleWhen>
            </command>
            <command
                  commandId="org.eclipse.egit.ui.team.SimpleFetch"
                  label="%FetchFromUpstreamAction.label"
                  mnemonic="f"
                  style="push">
               <visibleWhen
                     checkEnabled="false">
                  <reference
                        definitionId="org.eclipse.egit.ui.gitProject">
                  </reference>
               </visibleWhen>
            </command>
            <separator
                  name="org.eclipse.egit.ui.remoteSeparator"
                  visible="true">
            </separator>
            <menu
                  label="%RemoteSubMenu.label">
               <command
                     commandId="org.eclipse.egit.ui.team.Push"
                     label="%PushAction_label"
                     style="push">
               </command>
               <command
                     commandId="org.eclipse.egit.ui.team.Fetch"
                     label="%FetchAction_label"
                     style="push">
               </command>
               <command
                     commandId="org.eclipse.egit.ui.PushHeadToGerrit"
                     label="%PushToGerritMenu.label"
                     style="push">
                  <visibleWhen
                        checkEnabled="false">
                     <and>
                        <count
                              value="1">
                        </count>
                        <iterate>
                           <adapt
                                 type="org.eclipse.core.resources.IProject">
                              <test
                                    property="GitResource.isShared">
                              </test>
                              <test
                                    property="GitResource.hasGerritConfiguration">
                              </test>
                           </adapt>
                        </iterate>
                     </and>
                  </visibleWhen>
               </command>
               <command
                     commandId="org.eclipse.egit.ui.FetchGerritChange"
                     label="%FetchFromGerritCommand.label"
                     style="push">
                  <visibleWhen
                        checkEnabled="false">
                     <and>
                        <count
                              value="1">
                        </count>
                        <iterate>
                           <adapt
                                 type="org.eclipse.core.resources.IProject">
                              <test
                                    property="GitResource.isShared">
                              </test>
                              <test
                                    property="GitResource.hasGerritConfiguration">
                              </test>
                           </adapt>
                        </iterate>
                     </and>
                  </visibleWhen>
               </command>
               <separator
                     name="org.eclipse.egit.ui.remote.group1"
                     visible="true">
               </separator>
               <command
                     commandId="org.eclipse.egit.ui.ConfigureUpstreamPush"
                     label="%ConfigurePushToUpstreamCommand.label"
                     style="push">
               </command>
               <command
                     commandId="org.eclipse.egit.ui.ConfigureUpstreamFetch"
                     label="%ConfigureFetchFromUpstreamCommand.label"
                     style="push">
               </command>
               <visibleWhen
                     checkEnabled="false">
                  <reference
                        definitionId="org.eclipse.egit.ui.gitProject">
                  </reference>
               </visibleWhen>
            </menu>
            <separator
                  name="org.eclipse.egit.ui.branchSeparator">
            </separator>
            <menu
                  label="%SwitchToMenu.label"
                  icon="icons/obj16/branches_obj.gif">
               <dynamic
                     class="org.eclipse.egit.ui.internal.actions.SwitchToMenu"
                     id="org.eclipse.egit.ui.switchToMenu">
               </dynamic>
               <visibleWhen
                     checkEnabled="false">
                  <reference
                        definitionId="org.eclipse.egit.ui.gitProject">
                  </reference>
               </visibleWhen>
            </menu>
            <separator
                  name="org.eclipse.egit.ui.AdvancedSeparator">
            </separator>
            <menu
                  label="%AdvancedMenu.label">
               <command
                     commandId="org.eclipse.egit.ui.team.RenameBranch"
                     label="%RenameBranchMenu.label"
                     style="push">
                  <visibleWhen
                        checkEnabled="false">
                     <reference
                           definitionId="org.eclipse.egit.ui.gitProject">
                     </reference>
                  </visibleWhen>
               </command>
               <command
                     commandId="org.eclipse.egit.ui.team.DeleteBranch"
                     label="%DeleteBranchMenu.label"
                     style="push">
                  <visibleWhen
                        checkEnabled="false">
                     <reference
                           definitionId="org.eclipse.egit.ui.gitProject">
                     </reference>
                  </visibleWhen>
               </command>
               <separator
                  name="org.eclipse.egit.ui.SynchronizeWithSeparator"
                  visible="true" />
               <menu
                  label="%SynchronizeWith_label"
                  icon="$nl$/icons/obj16/remotespec.gif">
                  <dynamic
                     class="org.eclipse.egit.ui.internal.actions.SynchronizeWithMenu"
                     id="org.eclipse.egit.ui.synchronize">
                  </dynamic>
                  <visibleWhen checkEnabled="false">
                  <and>
                     <count value="1" />
                     <iterate>
                        <and>
                           <adapt type="org.eclipse.core.resources.IResource">
                              <and>
                                 <test property="GitResource.isShared" />
                                 <test property="GitResource.isContainer" />
                              </and>
                           </adapt>
                        </and>
                     </iterate>
                  </and>
               </visibleWhen>
               </menu>
               <separator
                     name="org.eclipse.egit.ui.separator1"
                     visible="true">
               </separator>
               <command
                     commandId="org.eclipse.egit.ui.team.Tag"
                     label="%TagAction_label"
                     style="push">
                  <visibleWhen
                        checkEnabled="false">
                     <reference
                           definitionId="org.eclipse.egit.ui.gitProject">
                     </reference>
                  </visibleWhen>
               </command>
               <separator
                     name="org.eclipse.egit.ui.TeamAdvancedFileSeparator"
                     visible="true">
               </separator>
               <command
                     commandId="org.eclipse.egit.ui.team.AssumeUnchanged"
                     label="%AssumeUnchangedAction_label"
                     style="push">
                  <visibleWhen
                        checkEnabled="false">
                    <and>
                       <count
                              value="+">
                       </count>
                       <iterate>
                          <adapt
                               type="org.eclipse.core.resources.IResource">
                             <test
                                  property="GitResource.isShared">
                             </test>
                          </adapt>
                        </iterate>
                     </and>
                  </visibleWhen>
               </command>
               <command
                     commandId="org.eclipse.egit.ui.team.NoAssumeUnchanged"
                     label="%NoAssumeUnchangedAction_label"
                     style="push">
                  <visibleWhen
                        checkEnabled="false">
                     <and>
                        <count
                              value="+">
                        </count>
                        <iterate>
                          <adapt
                               type="org.eclipse.core.resources.IResource">
                             <test
                                 property="GitResource.isShared">
                             </test>
                          </adapt>
                        </iterate>
                     </and>
                  </visibleWhen>
               </command>
               <command
                     commandId="org.eclipse.egit.ui.team.Untrack"
                     icon="$nl$/icons/obj16/untrack.gif"
                     label="%UntrackAction_label"
                     style="push">
                 <visibleWhen checkEnabled="false">
                  <and>
                     <count value="+" />
                     <iterate>
                        <and>
                           <adapt type="org.eclipse.core.resources.IResource">
                              <and>
                                 <test property="GitResource.isShared" />
                              </and>
                           </adapt>
                        </and>
                     </iterate>
                  </and>
               </visibleWhen>
               </command>
            </menu>
            <separator
                  name="applyPatchGroup"
                  visible="false">
            </separator>
            <separator
                  name="group2"
                  visible="true">
            </separator>
            <command
                  commandId="org.eclipse.egit.ui.team.Pull"
                  label="%PullIntoCurrentBranchMenuLabel"
                  style="push">
               <visibleWhen
                     checkEnabled="false">
                  <reference
                        definitionId="org.eclipse.egit.ui.gitProjects">
                  </reference>
               </visibleWhen>
            </command>
            <separator
                  name="group3"
                  visible="true">
            </separator>
            <separator
                  name="group4"
                  visible="true">
            </separator>
            <command
                  commandId="org.eclipse.egit.ui.team.Merge"
                  label="%MergeAction_label"
                  style="push">
               <visibleWhen
                     checkEnabled="false">
                  <reference
                        definitionId="org.eclipse.egit.ui.gitProject">
                  </reference>
               </visibleWhen>
            </command>
            <separator
                  name="group5"
                  visible="true">
            </separator>
           <command
                 commandId="org.eclipse.egit.ui.RepositoriesViewRebase" style="push"
                 label="%RebaseWithDialog_label">
	           <visibleWhen checkEnabled="false">
	              <and>
	                 <iterate
                        ifEmpty="false">
	                    <and>
	                       <adapt
	                             type="org.eclipse.core.resources.IProject">
	                          <test
	                                property="GitResource.isSafe">
	                          </test>
	                       </adapt>
	                    </and>
	                 </iterate>
	              </and>
	           </visibleWhen>
           </command>
           <menu
               icon="icons/obj16/rebase.gif"
               label="%RebaseMenu.label">
	           <command
	                 commandId="org.eclipse.egit.ui.org.eclipse.egit.ui.AbortRebase" style="push" />
	            <command
	                 commandId="org.eclipse.egit.ui.SkipRebase" style="push" />
	            <command
	                 commandId="org.eclipse.egit.ui.ContinueRebase" style="push" />
	           <visibleWhen checkEnabled="false">
	              <and>
	                 <iterate
                        ifEmpty="false">
	                    <and>
	                       <adapt
	                             type="org.eclipse.core.resources.IProject">
                              <test
                                    property="GitResource.isShared">
                              </test>
	                          <not>
		                          <test
		                                property="GitResource.isSafe">
		                          </test>
	                          </not>
	                       </adapt>
	                    </and>
	                 </iterate>
	              </and>
	           </visibleWhen>
            </menu>
           <command
                 commandId="org.eclipse.egit.ui.team.Reset"
                 label="%ResetAction_label"
                 style="push">
              <visibleWhen
                    checkEnabled="false">
                 <reference
                       definitionId="org.eclipse.egit.ui.gitProject">
                 </reference>
              </visibleWhen>
           </command>
            <separator
                  name="group6"
                  visible="true">
            </separator>
            <separator
                  name="group7"
                  visible="true">
            </separator>
            <separator
                  name="group8"
                  visible="true">
            </separator>
            <separator
                  name="group9"
                  visible="true">
            </separator>
            <separator
                  name="group10"
                  visible="true">
            </separator>
            <separator
                  name="targetGroup"
                  visible="true">
            </separator>
            <separator
                  name="projectGroup"
                  visible="true">
            </separator>
            <separator
                  name="group11"
                  visible="true">
            </separator>
            <command
                  commandId="org.eclipse.egit.ui.team.Disconnect"
                  label="%DisconnectAction_label"
                  style="push">
               <visibleWhen
                     checkEnabled="false">
                  <reference
                        definitionId="org.eclipse.egit.ui.gitProjects">
                  </reference>
               </visibleWhen>
            </command>
         </menu>
      </menuContribution>
      <menuContribution
         locationURI="popup:#AbstractTextEditorRulerContext?after=QuickDiff.Toggle">
         <command
            commandId="org.eclipse.egit.ui.team.ShowBlame"
            label="%ShowBlameAction_label"
            style="push">
            <visibleWhen
               checkEnabled="false">
               <with
                     variable="activeEditorInput">
                  <adapt
                     type="org.eclipse.core.resources.IFile">
                     <test
                        property="GitResource.isShared" />
                  </adapt>
               </with>
            </visibleWhen>
         </command>
      </menuContribution>
   </extension>
   <extension
         name="%RepositoryCommandsLabel"
         point="org.eclipse.ui.commands">
      <command
            categoryId="org.eclipse.egit.ui.commandCategory"
            defaultHandler="org.eclipse.egit.ui.internal.repository.tree.command.AddCommand"
            id="org.eclipse.egit.ui.RepositoriesViewAddRepository"
            name="%AddRepositoryCommand">
      </command>
      <command
            categoryId="org.eclipse.egit.ui.commandCategory"
            defaultHandler="org.eclipse.egit.ui.internal.repository.tree.command.CloneCommand"
            id="org.eclipse.egit.ui.RepositoriesViewClone"
            name="%CloneRepositoryCommand">
      </command>
      <command
            categoryId="org.eclipse.egit.ui.commandCategory"
            defaultHandler="org.eclipse.egit.ui.internal.repository.tree.command.CopyPathCommand"
            id="org.eclipse.egit.ui.RepositoriesViewCopyPath"
            name="%CopyPathCommand">
      </command>
      <command
            categoryId="org.eclipse.egit.ui.commandCategory"
            defaultHandler="org.eclipse.egit.ui.internal.repository.tree.command.RenameBranchCommand"
            id="org.eclipse.egit.ui.RepositoriesViewRenameBranch"
            name="%RenameBranchCommand">
      </command>
      <command
            categoryId="org.eclipse.egit.ui.commandCategory"
            defaultHandler="org.eclipse.egit.ui.internal.repository.tree.command.PasteCommand"
            id="org.eclipse.egit.ui.RepositoriesViewPaste"
            name="%PastePathCommand">
      </command>
      <command
            categoryId="org.eclipse.egit.ui.commandCategory"
            defaultHandler="org.eclipse.egit.ui.internal.repository.tree.command.RefreshCommand"
            id="org.eclipse.egit.ui.RepositoriesViewRefresh"
            name="%RefreshCommand">
      </command>
      <command
            categoryId="org.eclipse.egit.ui.commandCategory"
            defaultHandler="org.eclipse.egit.ui.internal.repository.tree.command.RemoveCommand"
            id="org.eclipse.egit.ui.RepositoriesViewRemove"
            name="%RemoveRepositoryCommand">
      </command>
      <command
            categoryId="org.eclipse.egit.ui.commandCategory"
            defaultHandler="org.eclipse.egit.ui.internal.repository.tree.command.ImportProjectsCommand"
            id="org.eclipse.egit.ui.RepositoriesViewImportProjects"
            name="%ImportProjectsCommand"
            description="%ImportProjectsCommand_description"
            >
      </command>
      <command
            categoryId="org.eclipse.egit.ui.commandCategory"
            defaultHandler="org.eclipse.egit.ui.internal.repository.tree.command.CreateBranchCommand"
            id="org.eclipse.egit.ui.RepositoriesViewCreateBranch"
            name="%CreateBranchCommand">
      </command>
      <command
            categoryId="org.eclipse.egit.ui.commandCategory"
            defaultHandler="org.eclipse.egit.ui.internal.repository.tree.command.ConfigureRemoteCommand"
            id="org.eclipse.egit.ui.RepositoriesViewNewRemote"
            name="%NewRemoteCommand">
      </command>
      <command
            categoryId="org.eclipse.egit.ui.commandCategory"
            defaultHandler="org.eclipse.egit.ui.internal.repository.tree.command.ConfigureFetchCommand"
            id="org.eclipse.egit.ui.RepositoriesViewConfigureFetch"
            name="%ConfigureFetchCommand">
      </command>
      <command
            categoryId="org.eclipse.egit.ui.commandCategory"
            defaultHandler="org.eclipse.egit.ui.internal.repository.tree.command.ConfigurePushCommand"
            id="org.eclipse.egit.ui.RepositoriesViewConfigurePush"
            name="%ConfigurePushCommand">
      </command>
      <command
            categoryId="org.eclipse.egit.ui.commandCategory"
            id="org.eclipse.egit.ui.RepositoriesViewRemoveRemote"
            name="%DeleteRemoteCommand">
      </command>
      <command
            categoryId="org.eclipse.egit.ui.commandCategory"
            id="org.eclipse.egit.ui.RepositoriesViewConfigureGerritRemote"
            name="%ConfigureGerritRemoteCommand">
      </command>
      <command
            categoryId="org.eclipse.egit.ui.commandCategory"
            defaultHandler="org.eclipse.egit.ui.internal.repository.tree.command.ChangeCredentialsCommand"
            id="org.eclipse.egit.ui.RepositoriesViewChangeCredentials"
            name="%ChangeCredentialsCommand">
      </command>
      <command
            categoryId="org.eclipse.egit.ui.commandCategory"
            defaultHandler="org.eclipse.egit.ui.internal.repository.tree.command.ClearCredentialsCommand"
            id="org.eclipse.egit.ui.RepositoriesViewClearCredentials"
            name="%ClearCredentialsCommand">
      </command>
      <command
            categoryId="org.eclipse.egit.ui.commandCategory"
            defaultHandler="org.eclipse.egit.ui.internal.repository.tree.command.OpenInEditorCommand"
            id="org.eclipse.egit.ui.RepositoriesViewOpenInEditor"
            name="%OpenInEditorCommand">
      </command>
      <command
            categoryId="org.eclipse.egit.ui.commandCategory"
            defaultHandler="org.eclipse.egit.ui.internal.repository.tree.command.AddToIndexCommand"
            id="org.eclipse.egit.ui.RepositoriesViewAddToIndex"
            name="%AddToIndexCommand">
      </command>
      <command
            categoryId="org.eclipse.egit.ui.commandCategory"
            defaultHandler="org.eclipse.egit.ui.internal.repository.tree.command.OpenCommand"
            id="org.eclipse.egit.ui.RepositoriesViewOpen"
            name="%OpenCommand">
      </command>
      <command
            categoryId="org.eclipse.egit.ui.commandCategory"
            defaultHandler="org.eclipse.egit.ui.internal.repository.tree.command.LinkWithSelectionCommand"
            id="org.eclipse.egit.ui.RepositoriesLinkWithSelection"
            name="%LinkWithSelectionCommand">
          <state
                class="org.eclipse.ui.handlers.RegistryToggleState:false"
                id="org.eclipse.ui.commands.toggleState">
          </state>
      </command>
      <command
            categoryId="org.eclipse.egit.ui.commandCategory"
            defaultHandler="org.eclipse.egit.ui.internal.repository.tree.command.CreateTagCommand"
            id="org.eclipse.egit.ui.RepositoriesViewCreateTag"
            name="%CreateTagCommand">
      </command>
      <command
            categoryId="org.eclipse.egit.ui.commandCategory"
            defaultHandler="org.eclipse.egit.ui.internal.repository.tree.command.CheckoutCommand"
            id="org.eclipse.egit.ui.CheckoutCommand"
            name="%CheckoutCommand">
      </command>
      <command
            categoryId="org.eclipse.egit.ui.commandCategory"
            defaultHandler="org.eclipse.egit.ui.internal.repository.tree.command.CreateRepositoryCommand"
            id="org.eclipse.egit.ui.RepositoriesViewCreateRepository"
            name="%RepoViewCreateRepositoryCommand.name">
      </command>
      <command
            categoryId="org.eclipse.egit.ui.commandCategory"
            defaultHandler="org.eclipse.egit.ui.internal.repository.tree.command.DeleteCommand"
            id="org.eclipse.egit.ui.RepositoriesViewDelete"
            name="%DeleteRepositoryCommand.name">
      </command>
      <command
            categoryId="org.eclipse.egit.ui.commandCategory"
            defaultHandler="org.eclipse.egit.ui.internal.repository.tree.command.ToggleBranchHierarchyCommand"
            id="org.eclipse.egit.ui.RepositoriesToggleBranchHierarchy"
            name="%ToggleLayoutCommand.name">
         <state
               class="org.eclipse.ui.handlers.RegistryToggleState:false"
               id="org.eclipse.ui.commands.toggleState">
         </state>
      </command>
       <command
            categoryId="org.eclipse.egit.ui.commandCategory"
            defaultHandler="org.eclipse.egit.ui.internal.repository.tree.command.ToggleBranchCommitCommand"
            id="org.eclipse.egit.ui.RepositoriesToggleBranchCommit"
            name="%ToggleBranchCommitCommand.name">
         <state
               class="org.eclipse.ui.handlers.RegistryToggleState:true"
               id="org.eclipse.ui.commands.toggleState">
         </state>
      </command>
      <command
            categoryId="org.eclipse.egit.ui.commandCategory"
            defaultHandler="org.eclipse.egit.ui.internal.commands.shared.RebaseCurrentRefCommand"
            id="org.eclipse.egit.ui.RepositoriesViewRebase"
            name="%RebaseCommand.name">
      </command>
      <command
            categoryId="org.eclipse.egit.ui.commandCategory"
            defaultHandler="org.eclipse.egit.ui.internal.commands.shared.AbortRebaseCommand"
            id="org.eclipse.egit.ui.org.eclipse.egit.ui.AbortRebase"
            name="%AbortRebaseCommand.name">
      </command>
      <command
            categoryId="org.eclipse.egit.ui.commandCategory"
            defaultHandler="org.eclipse.egit.ui.internal.commands.shared.SkipRebaseCommand"
            id="org.eclipse.egit.ui.SkipRebase"
            name="%SkipRebaseCommand.name">
      </command>
      <command
            categoryId="org.eclipse.egit.ui.commandCategory"
            defaultHandler="org.eclipse.egit.ui.internal.commands.shared.ContinueRebaseCommand"
            id="org.eclipse.egit.ui.ContinueRebase"
            name="%ContinueRebaseCommand.name">
      </command>
      <command
            categoryId="org.eclipse.egit.ui.commandCategory"
            id="org.eclipse.egit.ui.team.submodule.update"
            name="%SubmoduleUpdateCommand.name">
      </command>
      <command
            categoryId="org.eclipse.egit.ui.commandCategory"
            id="org.eclipse.egit.ui.team.submodule.sync"
            name="%SubmoduleSyncCommand.name">
      </command>
      <command
            categoryId="org.eclipse.egit.ui.commandCategory"
            id="org.eclipse.egit.ui.team.submodule.add"
            name="%SubmoduleAddCommand.name">
      </command>
      <command
            categoryId="org.eclipse.egit.ui.commandCategory"
            id="org.eclipse.egit.ui.team.clean"
            name="%CleanCommand.name">
      </command>
      <command
            categoryId="org.eclipse.egit.ui.commandCategory"
            id="org.eclipse.egit.ui.team.stash.create"
            defaultHandler="org.eclipse.egit.ui.internal.repository.tree.command.StashCreateCommand"
            name="%StashCreateCommand.name">
      </command>
      <command
            categoryId="org.eclipse.egit.ui.commandCategory"
            id="org.eclipse.egit.ui.team.stash.apply"
            name="%StashApplyCommand.name">
      </command>
      <command
            categoryId="org.eclipse.egit.ui.commandCategory"
            id="org.eclipse.egit.ui.team.stash.drop"
            name="%StashDropCommand.name">
      </command>
      <command
            categoryId="org.eclipse.egit.ui.commandCategory"
            defaultHandler="org.eclipse.egit.ui.internal.repository.tree.command.ConfigureBranchCommand"
            id="org.eclipse.egit.ui.RepositoriesViewConfigureBranch"
            name="%RepoViewConfigurBranchCommand.name">
      </command>
   </extension>
   <extension
         point="org.eclipse.ui.commandImages">
      <image
            commandId="org.eclipse.egit.ui.RepositoriesViewAddRepository"
            icon="icons/etool16/newlocation_wiz.gif">
      </image>
      <image
            commandId="org.eclipse.egit.ui.RepositoriesViewClone"
            icon="icons/obj16/cloneGit.gif">
      </image>
      <image
            commandId="org.eclipse.egit.ui.RepositoriesViewRefresh"
            icon="icons/obj16/refresh.gif">
      </image>
      <image
            commandId="org.eclipse.egit.ui.RepositoriesLinkWithSelection"
            icon="icons/elcl16/synced.gif">
      </image>
      <image
            commandId="org.eclipse.egit.ui.RepositoriesViewCreateTag"
            icon="icons/obj16/new_tag_obj.gif">
      </image>
      <image
            commandId="org.eclipse.egit.ui.team.ShowRepositoriesView"
            icon="icons/eview16/repo_rep.gif">
      </image>
      <image
            commandId="org.eclipse.egit.ui.team.ShowHistory"
            icon="icons/obj16/history.gif">
      </image>
      <image
            commandId="org.eclipse.egit.ui.history.CreateBranch"
            icon="icons/obj16/new_branch_obj.gif">
      </image>
      <image
            commandId="org.eclipse.egit.ui.commit.CreateTag"
            icon="icons/obj16/new_tag_obj.gif">
      </image>
      <image
            commandId="org.eclipse.egit.ui.commit.CreateBranch"
            icon="icons/obj16/new_branch_obj.gif">
      </image>
      <image
            commandId="org.eclipse.egit.ui.history.CherryPick"
            icon="icons/obj16/cherry-pick.png">
      </image>
      <image
            commandId="org.eclipse.egit.ui.commit.CherryPick"
            icon="icons/obj16/cherry-pick.png">
      </image>
      <image
            commandId="org.eclipse.egit.ui.commit.Checkout"
            icon="icons/obj16/checkout.gif">
      </image>
      <image
            commandId="org.eclipse.egit.ui.CheckoutCommand"
            icon="icons/obj16/checkout.gif">
      </image>
      <image
            commandId="org.eclipse.egit.ui.RepositoriesViewCreateBranch"
            icon="icons/obj16/new_branch_obj.gif">
      </image>
      <image
            commandId="org.eclipse.egit.ui.RepositoriesViewNewRemote"
            icon="icons/obj16/remotespec.gif">
      </image>
      <image
            commandId="org.eclipse.egit.ui.history.CreateTag"
            icon="icons/obj16/new_tag_obj.gif">
      </image>
      <image
            commandId="org.eclipse.egit.ui.history.PushCommit"
            icon="icons/obj16/push.gif">
      </image>
      <image
            commandId="org.eclipse.egit.ui.history.CheckoutCommand"
            icon="icons/obj16/checkout.gif">
      </image>
      <image
            commandId="org.eclipse.egit.ui.internal.reflog.CheckoutCommand"
            icon="icons/obj16/checkout.gif">
      </image>
      <image
            commandId="org.eclipse.egit.ui.RepositoriesViewImportProjects"
            icon="icons/obj16/import_prj.gif">
      </image>
      <image
            commandId="org.eclipse.egit.ui.RepositoriesViewCreateRepository"
            icon="icons/etool16/createRepository.gif">
      </image>
      <image
            commandId="org.eclipse.egit.ui.RepositoriesToggleBranchHierarchy"
            icon="icons/elcl16/hierarchicalLayout.gif">
      </image>
       <image
            commandId="org.eclipse.egit.ui.RepositoriesToggleBranchCommit"
            icon="icons/obj16/changelog_obj.gif">
      </image>
      <image
            commandId="org.eclipse.egit.ui.RepositoriesViewDelete"
            icon="icons/obj16/delete_obj.gif">
      </image>
      <image
            commandId="org.eclipse.egit.ui.RepositoriesViewRemove"
            icon="icons/obj16/clear.gif">
      </image>
      <image
            commandId="org.eclipse.egit.ui.org.eclipse.egit.ui.AbortRebase"
            icon="icons/elcl16/progress_stop.gif">
      </image>
      <image
            commandId="org.eclipse.egit.ui.ContinueRebase"
            icon="icons/elcl16/continue.gif">
      </image>
      <image
            commandId="org.eclipse.egit.ui.SkipRebase"
            icon="icons/elcl16/skip.gif">
      </image>
      <image
            commandId="org.eclipse.egit.ui.history.Merge"
            icon="icons/obj16/merge.gif">
      </image>
      <image
            commandId="org.eclipse.egit.ui.RebaseCurrent"
            icon="icons/obj16/rebase.gif">
      </image>
      <image
            commandId="org.eclipse.egit.ui.team.Fetch"
            icon="icons/obj16/fetch.gif">
      </image>
      <image
            commandId="org.eclipse.egit.ui.ConfigureUpstreamFetch"
            icon="icons/obj16/fetch.gif">
      </image>
      <image
            commandId="org.eclipse.egit.ui.ConfigureUpstreamPush"
            icon="icons/obj16/push.gif">
      </image>
      <image
            commandId="org.eclipse.egit.ui.team.Push"
            icon="icons/obj16/push.gif">
      </image>
      <image
            commandId="org.eclipse.egit.ui.FetchGerritChange"
            icon="icons/obj16/gerrit_fetch.gif">
      </image>
      <image
            commandId="org.eclipse.egit.ui.team.AddToIndex"
            icon="icons/obj16/add.gif">
      </image>
      <image
            commandId="org.eclipse.egit.ui.team.Branch"
            icon="icons/obj16/branch_obj.gif">
      </image>
      <image
            commandId="org.eclipse.egit.ui.team.Commit"
            icon="icons/obj16/commit.gif">
      </image>
      <image
            commandId="org.eclipse.egit.ui.team.SimpleFetch"
            icon="icons/obj16/fetch.gif">
      </image>
      <image
            commandId="org.eclipse.egit.ui.team.SimplePush"
            icon="icons/obj16/push.gif">
      </image>
      <image
            commandId="org.eclipse.egit.ui.team.Ignore"
            icon="icons/obj16/ignore.gif">
      </image>
      <image
            commandId="org.eclipse.egit.ui.team.Merge"
            icon="icons/obj16/merge.gif">
      </image>
      <image
            commandId="org.eclipse.egit.ui.team.MergeTool"
            icon="icons/obj16/mergetool.gif">
      </image>
      <image
            commandId="org.eclipse.egit.ui.team.Pull"
            icon="icons/obj16/pull.gif">
      </image>
      <image
            commandId="org.eclipse.egit.ui.RepositoriesViewRebase"
            icon="icons/obj16/rebase.gif">
      </image>
      <image
            commandId="org.eclipse.egit.ui.team.Reset"
            icon="icons/obj16/reset.gif">
      </image>
      <image
            commandId="org.eclipse.egit.ui.team.Synchronize"
            icon="icons/obj16/remotespec.gif">
      </image>
      <image
            commandId="org.eclipse.egit.ui.team.Tag"
            icon="icons/obj16/new_tag_obj.gif">
      </image>
      <image
            commandId="org.eclipse.egit.ui.team.AssumeUnchanged"
            icon="icons/obj16/assume-unchanged.gif">
      </image>
      <image
            commandId="org.eclipse.egit.ui.team.NoAssumeUnchanged"
            icon="icons/obj16/no-assume-unchanged.gif">
      </image>
      <image
            commandId="org.eclipse.egit.ui.team.DeleteBranch"
            icon="icons/obj16/delete_obj.gif">
      </image>
      <image
            commandId="org.eclipse.egit.ui.team.RenameBranch"
            icon="icons/obj16/editconfig.gif">
      </image>
      <image
            commandId="org.eclipse.ui.edit.rename"
            icon="icons/obj16/editconfig.gif">
      </image>
      <image
            commandId="org.eclipse.egit.ui.history.DeleteBranch"
            icon="icons/obj16/delete_obj.gif">
      </image>
      <image
            commandId="org.eclipse.egit.ui.internal.reflog.OpenInCommitViewerCommand"
            icon="icons/obj16/open-commit.gif">
      </image>
      <image
            commandId="org.eclipse.egit.ui.history.OpenInCommitViewerCommand"
            icon="icons/obj16/open-commit.gif">
      </image>
      <image
            commandId="org.eclipse.egit.ui.history.Revert"
            icon="icons/obj16/revert.gif">
      </image>
      <image
            commandId="org.eclipse.egit.ui.commit.Revert"
            icon="icons/obj16/revert.gif">
      </image>
      <image
            commandId="org.eclipse.egit.ui.team.clean"
            icon="icons/obj16/clean_obj.gif">
      </image>
      <image
            commandId="org.eclipse.egit.ui.team.stash.create"
            icon="icons/obj16/stash-create.png">
      </image>
      <image
            commandId="org.eclipse.egit.ui.history.RenameBranch"
            icon="icons/obj16/editconfig.gif">
      </image>
      <image
            commandId="org.eclipse.egit.ui.history.ShowBlame"
            icon="icons/etool16/annotate.gif">
      </image>
      <image
            commandId="org.eclipse.egit.ui.PushHeadToGerrit"
            icon="icons/obj16/gerrit_push.gif">
      </image>
      <image
            commandId="org.eclipse.egit.ui.RepositoriesViewConfigureGerritRemote"
            icon="icons/obj16/gerrit_obj.gif">
      </image>
      <image
            commandId="org.eclipse.egit.ui.team.GarbageCollect"
            icon="icons/elcl16/trash.gif">
      </image>
      <image
            commandId="org.eclipse.egit.ui.team.Disconnect"
            icon="icons/obj16/disconnect_co.gif">
      </image>
   </extension>
   <extension
         point="org.eclipse.core.expressions.propertyTesters">
      <propertyTester
            class="org.eclipse.egit.ui.internal.repository.tree.RepositoriesViewPropertyTester"
            id="org.eclipse.egit.ui.RepositoryTester"
            namespace="GitRepository"
            properties="isBare,isSafe,canCommit,canAmend,canResetHead,canStash,isRefCheckedOut,isLocalBranch,fetchExists,pushExists,canMerge,canAbortRebase,canContinueRebase,isSubmodule,containsHead,hasGerritConfiguration"
            type="org.eclipse.egit.ui.internal.repository.tree.RepositoryTreeNode">
      </propertyTester>
      <propertyTester
            class="org.eclipse.egit.ui.internal.ResourcePropertyTester"
            id="org.eclipse.egit.ui.ResourceTester"
            namespace="GitResource"
            properties="isShared,isContainer,isSafe,canCommit,canAmend,canResetHead,hasGerritConfiguration"
            type="org.eclipse.core.resources.IResource">
      </propertyTester>
   </extension>
   <extension
         point="org.eclipse.ui.navigator.linkHelper">
      <linkHelper
            class="org.eclipse.egit.ui.internal.repository.tree.LinkHelper"
            id="org.eclipse.egit.ui.RepositoriesViewLinkHelper">
         <editorInputEnablement>
            <instanceof
                  value="org.eclipse.ui.IURIEditorInput">
            </instanceof></editorInputEnablement>
         <selectionEnablement>
            <instanceof
                  value="org.eclipse.egit.ui.internal.repository.tree.FileNode">
            </instanceof>
         </selectionEnablement>
      </linkHelper>
    </extension>
    <extension
         id="changeSetModel"
         name="%ChangeSetModel.name"
         point="org.eclipse.core.resources.modelProviders">
      <modelProvider
            class="org.eclipse.egit.ui.internal.synchronize.GitChangeSetModelProvider"/>
      <enablement>
        <instanceof
             value="org.eclipse.core.resources.IResource" />
      </enablement>
      <extends-model id="org.eclipse.core.resources.modelProvider"/>
   </extension>
    <extension
         point="org.eclipse.team.ui.synchronizeWizards">
      <wizard
            class="org.eclipse.egit.ui.internal.synchronize.GitSynchronizeWizard"
            description="%gitsyncwizard.description"
            icon="icons/obj16/gitrepository.gif"
            id="org.eclipse.egit.ui.wizard1"
            name="%Synchronize_Name">
      </wizard>
   </extension>
   <extension
         point="org.eclipse.team.ui.synchronizeParticipants">
      <participant
            class="org.eclipse.egit.ui.internal.synchronize.GitModelSynchronizeParticipant"
            id="org.eclipse.egit.ui.modelCompareParticipant"
            name="%Synchronize_Name"
            icon="icons/obj16/gitrepository.gif"
            persistent="true"/>
   </extension>
   <extension
         point="org.eclipse.ui.navigator.navigatorContent">
      <navigatorContent
            activeByDefault="false"
            contentProvider="org.eclipse.egit.ui.internal.synchronize.mapping.GitChangeSetContentProvider"
            icon="$nl$/icons/obj16/changelog_obj.gif"
            id="org.eclipse.egit.ui.changeSetContent"
            labelProvider="org.eclipse.egit.ui.internal.synchronize.mapping.GitChangeSetLabelProvider"
            name="%Synchronize_ChangeSet"
            priority="normal">
         <enablement>
           <or>
            <instanceof value="org.eclipse.egit.ui.internal.synchronize.GitChangeSetModelProvider"/>
            <instanceof value="org.eclipse.egit.ui.internal.synchronize.model.GitModelBlob"/>
            <instanceof value="org.eclipse.egit.ui.internal.synchronize.model.GitModelCacheTree"/>
           </or>
         </enablement>
	     <dropAssistant
	             class="org.eclipse.egit.ui.internal.synchronize.mapping.GitChangeSetDropAdapterAssistant"
	             id="org.eclipse.egit.ui.changeSetDropAssistant">
	       <possibleDropTargets>
             <instanceof value="org.eclipse.egit.ui.internal.synchronize.model.GitModelCache"/>
	       </possibleDropTargets>
	     </dropAssistant>
	     <commonSorter
               class="org.eclipse.egit.ui.internal.synchronize.mapping.GitChangeSetSorter"/>
       </navigatorContent>
   </extension>
   <extension
         point="org.eclipse.team.ui.teamContentProviders">
      <teamContentProvider
            contentExtensionId="org.eclipse.egit.ui.changeSetContent"
            icon="$nl$/icons/obj16/changelog_obj.gif"
            modelProviderId="org.eclipse.egit.ui.changeSetModel"/>
   </extension>
   <extension point="org.eclipse.ui.navigator.viewer">
       <viewer viewerId="org.eclipse.egit.ui.compareSynchronization">
           <popupMenu
                allowsPlatformContributions="false"
                id="org.eclipse.egit.ui.compareSynchronizationMenu">
             <insertionPoint name="gitActions" separator="true"/>
             <insertionPoint name="file"/>
             <insertionPoint name="file-bottom"/>
             <insertionPoint name="edit" separator="true"/>
             <insertionPoint name="synchronize"/>
             <insertionPoint name="navigate" separator="true"/>
             <insertionPoint name="modelTeam" separator="true"/>
             <insertionPoint name="sort" separator="true"/>
			 <insertionPoint name="additions" separator="true"/>
          </popupMenu>
       </viewer>
   </extension>
   <extension
         name="%TeamMenuCommandsLabel"
         point="org.eclipse.ui.commands">
      <command
            categoryId="org.eclipse.egit.ui.commandCategory"
            defaultHandler="org.eclipse.egit.ui.internal.actions.AddToIndexActionHandler"
            id="org.eclipse.egit.ui.team.AddToIndex"
            name="%AddToIndexCommand.name">
      </command>
      <command
            categoryId="org.eclipse.egit.ui.commandCategory"
            defaultHandler="org.eclipse.egit.ui.internal.actions.CreatePatchActionHandler"
            id="org.eclipse.egit.ui.team.CreatePatch"
            name="%CreatePatchCommand.name">
      </command>
      <command
            categoryId="org.eclipse.egit.ui.commandCategory"
            defaultHandler="org.eclipse.egit.ui.internal.actions.RemoveFromIndexActionHandler"
            id="org.eclipse.egit.ui.team.RemoveFromIndex"
            name="%RemoveFromIndexCommand.name">
      </command>
      <command
            categoryId="org.eclipse.egit.ui.commandCategory"
            defaultHandler="org.eclipse.egit.ui.internal.actions.BranchActionHandler"
            id="org.eclipse.egit.ui.team.Branch"
            name="%BranchCommand.name">
      </command>
      <command
            categoryId="org.eclipse.egit.ui.commandCategory"
            defaultHandler="org.eclipse.egit.ui.internal.actions.CompareWithHeadActionHandler"
            id="org.eclipse.egit.ui.team.CompareWithHead"
            name="%CompareWithHeadCommand.name">
      </command>
      <command
            categoryId="org.eclipse.egit.ui.commandCategory"
            defaultHandler="org.eclipse.egit.ui.internal.actions.CompareIndexWithHeadActionHandler"
            id="org.eclipse.egit.ui.team.CompareIndexWithHead"
            name="%CompareIndexWithHeadCommand.name">
      </command>
      <command
            categoryId="org.eclipse.egit.ui.commandCategory"
            defaultHandler="org.eclipse.egit.ui.internal.actions.CompareWithPreviousActionHandler"
            id="org.eclipse.egit.ui.team.CompareWithPrevious"
            name="%CompareWithPreviousCommand.name">
      </command>
      <command
            categoryId="org.eclipse.egit.ui.commandCategory"
            id="org.eclipse.egit.ui.team.CompareWithRevision"
            name="%CompareWithHistoryCommand.name">
      </command>
      <command
            categoryId="org.eclipse.egit.ui.commandCategory"
            defaultHandler="org.eclipse.egit.ui.internal.actions.CompareWithIndexActionHandler"
            id="org.eclipse.egit.ui.team.CompareWithIndex"
            name="%CompareWithIndexCommand.name">
      </command>
      <command
            categoryId="org.eclipse.egit.ui.commandCategory"
            defaultHandler="org.eclipse.egit.ui.internal.actions.DiscardChangesActionHandler"
            id="org.eclipse.egit.ui.team.Discard"
            name="%ReplaceWithIndexCommand.name">
      </command>
      <command
            categoryId="org.eclipse.egit.ui.commandCategory"
            defaultHandler="org.eclipse.egit.ui.internal.actions.ReplaceWithHeadActionHandler"
            id="org.eclipse.egit.ui.team.ReplaceWithHead"
            name="%ReplaceWithHeadCommand.name">
      </command>
      <command
            categoryId="org.eclipse.egit.ui.commandCategory"
            defaultHandler="org.eclipse.egit.ui.internal.actions.ReplaceWithCommitActionHandler"
            id="org.eclipse.egit.ui.team.ReplaceWithCommit"
            name="%ReplaceWithCommitCommand.name">
      </command>
      <command
            categoryId="org.eclipse.egit.ui.commandCategory"
            defaultHandler="org.eclipse.egit.ui.internal.actions.ReplaceWithRefActionHandler"
            id="org.eclipse.egit.ui.team.ReplaceWithRef"
            name="%ReplaceWithRefCommand.name">
      </command>
            <command
            categoryId="org.eclipse.egit.ui.commandCategory"
            defaultHandler="org.eclipse.egit.ui.internal.actions.IgnoreActionHandler"
            id="org.eclipse.egit.ui.team.Ignore"
            name="%IgnoreCommand.name">
      </command>
      <command
            categoryId="org.eclipse.egit.ui.commandCategory"
            defaultHandler="org.eclipse.egit.ui.internal.actions.TagActionHandler"
            id="org.eclipse.egit.ui.team.Tag"
            name="%TagCommand.name">
      </command>
      <command
            categoryId="org.eclipse.egit.ui.commandCategory"
            defaultHandler="org.eclipse.egit.ui.internal.actions.ShowRepositoriesViewActionHandler"
            id="org.eclipse.egit.ui.team.ShowRepositoriesView"
            name="%ShowRepoViewCommand.name">
      </command>
      <command
            categoryId="org.eclipse.egit.ui.commandCategory"
            defaultHandler="org.eclipse.egit.ui.internal.actions.ApplyPatchActionHandler"
            id="org.eclipse.egit.ui.team.ApplyPatch"
            name="%ApplyPatchCommand.name">
      </command>
      <command
            categoryId="org.eclipse.egit.ui.commandCategory"
            defaultHandler="org.eclipse.egit.ui.internal.actions.MergeToolActionHandler"
            id="org.eclipse.egit.ui.team.MergeTool"
            name="%MergeToolCommand.name">
      </command>
      <command
            defaultHandler="org.eclipse.egit.ui.internal.actions.ConfigureFetchActionHandler"
            id="org.eclipse.egit.ui.ConfigureUpstreamFetch"
            name="%ConfigureUpstreamFetchCommand.name">
      </command>
      <command
            defaultHandler="org.eclipse.egit.ui.internal.actions.ConfigurePushActionHandler"
            id="org.eclipse.egit.ui.ConfigureUpstreamPush"
            name="%ConfigureUpstreamPushCommand.name">
      </command>
      <command
            categoryId="org.eclipse.egit.ui.commandCategory"
            defaultHandler="org.eclipse.egit.ui.internal.actions.ConfigureFetchActionHandler"
            id="org.eclipse.egit.ui.team.ConfigureFetch"
            name="%ConfigureUpstreamFetchCommand.name">
      </command>
      <command
            categoryId="org.eclipse.egit.ui.commandCategory"
            defaultHandler="org.eclipse.egit.ui.internal.actions.ConfigurePushActionHandler"
            id="org.eclipse.egit.ui.team.ConfigurePush"
            name="%ConfigureUpstreamPushCommand.name">
      </command>
      <command
            categoryId="org.eclipse.egit.ui.commandCategory"
            defaultHandler="org.eclipse.egit.ui.internal.actions.DeleteBranchActionHandler"
            id="org.eclipse.egit.ui.team.DeleteBranch"
            name="%DeleteBranchCommand.name">
      </command>
      <command
            categoryId="org.eclipse.egit.ui.commandCategory"
            defaultHandler="org.eclipse.egit.ui.internal.actions.RenameBranchActionHandler"
            id="org.eclipse.egit.ui.team.RenameBranch"
            name="%RenameBranchCommand.name">
      </command>
      <command
            categoryId="org.eclipse.egit.ui.commandCategory"
            defaultHandler="org.eclipse.egit.ui.internal.actions.AssumeUnchangedActionHandler"
            id="org.eclipse.egit.ui.team.AssumeUnchanged"
            name="%AssumeUnchangedCommand">
      </command>
      <command
            categoryId="org.eclipse.egit.ui.commandCategory"
            defaultHandler="org.eclipse.egit.ui.internal.actions.NoAssumeUnchangedActionHandler"
            id="org.eclipse.egit.ui.team.NoAssumeUnchanged"
            name="%NoAssumeUnchangedCommand">
      </command>
      <command
            categoryId="org.eclipse.egit.ui.commandCategory"
            id="org.eclipse.egit.ui.team.Untrack"
            name="%UntrackCommand.name">
      </command>
   </extension>
   <extension
         point="org.eclipse.ui.bindings">
      <key
            commandId="org.eclipse.egit.ui.team.Commit"
            contextId="org.eclipse.ui.contexts.window"
            schemeId="org.eclipse.ui.defaultAcceleratorConfiguration"
            sequence="M1+#">
      </key>
      <!-- Command+Shift+3 takes a screenshot on the Mac. Delete and redefine key binding: -->
      <key
            platform="carbon"
            commandId=""
            contextId="org.eclipse.ui.contexts.window"
            schemeId="org.eclipse.ui.defaultAcceleratorConfiguration"
            sequence="M1+#">
      </key>
      <key
            platform="carbon"
            commandId="org.eclipse.egit.ui.team.Commit"
            contextId="org.eclipse.ui.contexts.window"
            schemeId="org.eclipse.ui.defaultAcceleratorConfiguration"
            sequence="COMMAND+ALT+3">
      </key>
      <key
            commandId="org.eclipse.egit.ui.RepositoriesViewPaste"
            contextId="org.eclipse.egit.ui.RepositoriesView"
            schemeId="org.eclipse.ui.defaultAcceleratorConfiguration"
            sequence="M1+V">
      </key>
      <key
            commandId="org.eclipse.egit.ui.RepositoriesViewCopyPath"
            contextId="org.eclipse.egit.ui.RepositoriesView"
            schemeId="org.eclipse.ui.defaultAcceleratorConfiguration"
            sequence="M1+C">
      </key>
      <key
            commandId="org.eclipse.egit.ui.internal.reflog.CopyCommand"
            contextId="org.eclipse.egit.ui.ReflogView"
            schemeId="org.eclipse.ui.defaultAcceleratorConfiguration"
            sequence="M1+C">
      </key>
   </extension>
   <extension
         name="%HistoryViewCommands.extension.name"
         point="org.eclipse.ui.commands">
      <command
            defaultHandler="org.eclipse.egit.ui.internal.history.command.CompareVersionsHandler"
            id="org.eclipse.egit.ui.history.CompareVersions"
            name="%CompareCommand.name">
      </command>
      <command
            defaultHandler="org.eclipse.egit.ui.internal.history.command.CompareVersionsInTreeHandler"
            id="org.eclipse.egit.ui.history.CompareVersionsInTree"
            name="%CompareInTreeCommand.name">
      </command>
      <command
            defaultHandler="org.eclipse.egit.ui.internal.history.command.CompareWithWorkingTreeHandler"
            id="org.eclipse.egit.ui.history.CompareWithWorkingTree"
            name="%CompareWithWorkTreeCommand.name">
      </command>
      <command
            defaultHandler="org.eclipse.egit.ui.internal.history.command.ShowVersionsHandler"
            id="org.eclipse.egit.ui.history.ShowVersions"
            name="%OpenCommand.name">
         <commandParameter
               id="org.eclipse.egit.ui.history.CompareMode"
               name="%CompareModeCommandParameter.name"
               optional="true">
         </commandParameter>
      </command>
      <command
            defaultHandler="org.eclipse.egit.ui.internal.history.command.CreatePatchHandler"
            id="org.eclipse.egit.ui.history.CreatePatch"
            name="%CreatePatchCommand.name">
      </command>
      <command
            defaultHandler="org.eclipse.egit.ui.internal.history.command.CreateBranchOnCommitHandler"
            id="org.eclipse.egit.ui.history.CreateBranch"
            name="%CreateBranchCommand.name">
      </command>
      <command
            defaultHandler="org.eclipse.egit.ui.internal.history.command.DeleteBranchOnCommitHandler"
            id="org.eclipse.egit.ui.history.DeleteBranch"
            name="%DeleteBranchCommand">
      </command>
      <command
            defaultHandler="org.eclipse.egit.ui.internal.history.command.RenameBranchOnCommitHandler"
            id="org.eclipse.egit.ui.history.RenameBranch"
            name="%RenameBranchCommand">
      </command>
      <command
            defaultHandler="org.eclipse.egit.ui.internal.history.command.CreateTagOnCommitHandler"
            id="org.eclipse.egit.ui.history.CreateTag"
            name="%CreateTagCommand.name">
      </command>
      <command
            defaultHandler="org.eclipse.egit.ui.internal.history.command.PushCommitHandler"
            id="org.eclipse.egit.ui.history.PushCommit"
            name="%PushCommit.name">
      </command>
      <command
            defaultHandler="org.eclipse.egit.ui.internal.history.command.ResetHandler"
            id="org.eclipse.egit.ui.history.Reset"
            name="%ResetCommand.name">
         <commandParameter
               id="org.eclipse.egit.ui.history.ResetMode"
               name="%ResetModeCommandParameter.name"
               optional="false">
         </commandParameter>
      </command>
      <command
            defaultHandler="org.eclipse.egit.ui.internal.history.command.ResetQuickdiffBaselineHandler"
            id="org.eclipse.egit.ui.history.ResetQuickdiffBaseline"
            name="%ResetQuickdiffCommand.name">
         <commandParameter
               id="org.eclipse.egit.ui.history.ResetQuickdiffBaselineTarget"
               name="%ResetTargetCommandParameter.name"
               optional="false">
         </commandParameter>
      </command>
      <command
            defaultHandler="org.eclipse.egit.ui.internal.history.command.SetQuickdiffBaselineHandler"
            id="org.eclipse.egit.ui.history.SetQuickdiffBaseline"
            name="%SetQuickdiffBaselineCommand.name">
      </command>
      <command
            defaultHandler="org.eclipse.egit.ui.internal.history.command.CheckoutCommitHandler"
            id="org.eclipse.egit.ui.history.CheckoutCommand"
            name="%CheckoutCommand.name">
      </command>
      <command
            defaultHandler="org.eclipse.egit.ui.internal.history.command.OpenInTextEditorHandler"
            id="org.eclipse.egit.ui.history.OpenInTextEditorCommand"
            name="%OpenInTextEditorCommand.name">
      </command>
      <command
            defaultHandler="org.eclipse.egit.ui.internal.history.command.CherryPickHandler"
            id="org.eclipse.egit.ui.history.CherryPick"
            name="%CherryPickCommand.name">
      </command>
      <command
            defaultHandler="org.eclipse.egit.ui.internal.commit.command.CherryPickHandler"
            id="org.eclipse.egit.ui.commit.CherryPick"
            name="%CherryPickCommand.name">
      </command>
      <command
            defaultHandler="org.eclipse.egit.ui.internal.history.command.RevertHandler"
            id="org.eclipse.egit.ui.history.Revert"
            name="%RevertCommand.name">
      </command>
      <command
            defaultHandler="org.eclipse.egit.ui.internal.commit.command.RevertHandler"
            id="org.eclipse.egit.ui.commit.Revert"
            name="%RevertCommand.name">
      </command>
      <command
            defaultHandler="org.eclipse.egit.ui.internal.history.command.MergeHandler"
            id="org.eclipse.egit.ui.history.Merge"
            name="%MergeCommand.name">
      </command>
      <command
            defaultHandler="org.eclipse.egit.ui.internal.history.command.RebaseCurrentHandler"
            id="org.eclipse.egit.ui.RebaseCurrent"
            name="%RebaseCurrentCommand.name">
      </command>
      <command
            defaultHandler="org.eclipse.egit.ui.internal.history.command.OpenInCommitViewerHandler"
            id="org.eclipse.egit.ui.history.OpenInCommitViewerCommand"
            name="%OpenInCommitViewerCommand.name">
      </command>
   </extension>
   <extension
         name="%CommitViewerCommands.extension.name"
         point="org.eclipse.ui.commands">
      <command
            defaultHandler="org.eclipse.egit.ui.internal.commit.command.CreateTagHandler"
            id="org.eclipse.egit.ui.commit.CreateTag"
            name="%CreateTagCommand">
      </command>
      <command
            defaultHandler="org.eclipse.egit.ui.internal.commit.command.CreateBranchHandler"
            id="org.eclipse.egit.ui.commit.CreateBranch"
            name="%CreateBranchCommand">
      </command>
      <command
            defaultHandler="org.eclipse.egit.ui.internal.commit.command.CheckoutHandler"
            id="org.eclipse.egit.ui.commit.Checkout"
            name="%CheckoutCommand">
      </command>
      <command
            defaultHandler="org.eclipse.egit.ui.internal.history.command.ShowBlameHandler"
            id="org.eclipse.egit.ui.history.ShowBlame"
            name="%ShowBlameCommand.name">
      </command>
   </extension>
   <extension
         point="org.eclipse.ui.newWizards">
      <wizard
            category="org.eclipse.egit.ui.wizardCategory"
            class="org.eclipse.egit.ui.internal.repository.NewRepositoryWizard"
            hasPages="true"
            icon="icons/etool16/createRepository.gif"
            id="org.eclipse.egit.ui.CreateRepositoryWizard"
            name="%CreateRepositoryWizard.name">
      </wizard>
      <category
            id="org.eclipse.egit.ui.wizardCategory"
            name="%Git">
      </category>
   </extension>
   <extension
         point="org.eclipse.ui.contexts">
      <context
            id="org.eclipse.egit.ui.RepositoriesView"
            name="%RepositoriesViewContext.name"
            parentId="org.eclipse.ui.contexts.window">
      </context>
      <context
            id="org.eclipse.egit.ui.ReflogView"
            name="%ReflogViewContext"
            parentId="org.eclipse.ui.contexts.window">
      </context>
   </extension>
   <extension
         point="org.eclipse.ui.editors">
      <editor
            class="org.eclipse.egit.ui.internal.commit.CommitEditor"
            default="false"
            icon="icons/obj16/changelog_obj.gif"
            id="org.eclipse.egit.ui.commitEditor"
            name="%CommitEditor.name">
      </editor>
   </extension>
   <extension
         point="org.eclipse.ui.elementFactories">
      <factory
            class="org.eclipse.egit.ui.internal.commit.CommitEditorInputFactory"
            id="org.eclipse.egit.ui.internal.commit.CommitEditorInputFactory">
      </factory>
   </extension>
   <extension
		point="org.eclipse.core.runtime.adapters">
	      <factory
	            adaptableType="org.eclipse.egit.ui.internal.staging.StagingEntry"
				            class="org.eclipse.egit.ui.internal.staging.StagingEntryAdapterFactory">
	         <adapter
	               type="org.eclipse.core.resources.IResource">
	         </adapter>
	      </factory>
	</extension>
    <extension point="org.eclipse.search.searchPages">
      <page
            class="org.eclipse.egit.ui.internal.search.CommitSearchPage"
            icon="icons/obj16/search-commit.gif"
            id="org.eclipse.egit.ui.commitSearchPage"
            label="%CommitSearchPage.label">
      </page>
   </extension>
   <extension
         point="org.eclipse.search.searchResultViewPages">
      <viewPage
            class="org.eclipse.egit.ui.internal.search.CommitSearchResultsPage"
            icon="icons/obj16/search-commit.gif"
            id="org.eclipse.egit.ui.commitSearchResultsPage"
            label="%CommitSearchResults.label"
            searchResultClass="org.eclipse.egit.ui.internal.search.CommitSearchResult">
      </viewPage>
   </extension>

   <extension
         point="org.eclipse.ui.actionSets">
      <actionSet
            id="org.eclipse.egit.ui.navigation"
            label="%NavigationActionSet.label"
            visible="false">
        <action
               class="org.eclipse.egit.ui.internal.commit.OpenCommitAction"
               definitionId="org.eclipse.egit.ui.team.OpenCommit"
               icon="icons/obj16/open-commit.gif"
               id="org.eclipse.egit.ui.commit.OpenCommitAction"
               label="%OpenCommitAction.label"
               menubarPath="navigate/open.ext3"
               style="push"
               toolbarPath="org.eclipse.search.searchActionSet/Search"
               tooltip="%OpenCommitAction.tooltip"/>
       </actionSet>
   </extension>
   <extension
         point="org.eclipse.ui.actionSetPartAssociations">
      <actionSetPartAssociation
            targetID="org.eclipse.egit.ui.navigation">
         <part
               id="org.eclipse.egit.ui.RepositoriesView">
         </part>
         <part
               id="org.eclipse.egit.ui.StagingView">
         </part>
         <part
               id="org.eclipse.egit.ui.CompareTreeView">
         </part>
         <part
               id="org.eclipse.egit.ui.ReflogView">
         </part>
         <part
               id="org.eclipse.egit.ui.commitEditor">
         </part>
         <part
               id="org.eclipse.team.ui.GenericHistoryView">
         </part>
      </actionSetPartAssociation>
   </extension>

  <extension
	point="org.eclipse.core.variables.dynamicVariables">
     <variable
	   description="%GitVariable_git_dir"
	   name="git_dir"
	   resolver="org.eclipse.egit.ui.internal.variables.GitVariableResolver"
	   supportsArgument="true">
     </variable>
     <variable
	   description="%GitVariable_git_repo_relative_path"
	   name="git_repo_relative_path"
	   resolver="org.eclipse.egit.ui.internal.variables.GitVariableResolver"
	   supportsArgument="true">
     </variable>
     <variable
	   description="%GitVariable__git_work_tree_description"
	   name="git_work_tree"
	   resolver="org.eclipse.egit.ui.internal.variables.GitVariableResolver"
	   supportsArgument="true">
     </variable>
     <variable
	   description="%GitVariable_git_branch_description"
	   name="git_branch"
	   resolver="org.eclipse.egit.ui.internal.variables.GitVariableResolver"
	   supportsArgument="true">
     </variable>
  </extension>
  <extension
        point="org.eclipse.mylyn.tasks.bugs.support">
        <product featureId="org.eclipse.egit" id="org.eclipse.egit" providerId="org.eclipse"/>
		<mapping namespace="org.eclipse.egit.ui" productId="org.eclipse.egit">
			<property name="product" value="EGit"/>
			<property name="component" value="UI"/>
		</mapping>
		<mapping namespace="org.eclipse.egit.core" productId="org.eclipse.egit">
			<property name="product" value="EGit"/>
			<property name="component" value="Core"/>
		</mapping>
		<mapping namespace="org.eclipse.egit.mylyn" productId="org.eclipse.egit">
			<property name="product" value="EGit"/>
			<property name="component" value="Mylyn"/>
		</mapping>
  </extension>
  <extension
        point="org.eclipse.egit.ui.cloneSourceProvider">
     <source
           hasFixLocation="true"
           icon="/icons/obj16/editconfig.gif"
           label="%CloneUri.label">
     </source>
     <repositorySearchPage
           class="org.eclipse.egit.ui.internal.components.RepositorySelectionPage"></repositorySearchPage>
  </extension>
  <extension
        name="%ReflogViewCommands"
        point="org.eclipse.ui.commands">
     <command
           id="org.eclipse.egit.ui.internal.reflog.OpenInCommitViewerCommand"
           name="%OpenInCommitViewerCommand.name">
     </command>
     <command
           id="org.eclipse.egit.ui.internal.reflog.CheckoutCommand"
           name="%CheckoutCommand.name">
     </command>
     <command
           id="org.eclipse.egit.ui.internal.reflog.CopyCommand"
           name="%ReflogCopyCommandName">
     </command>
  </extension>
   <extension
        point="org.eclipse.team.core.bundleImporters">
    <importer
           id="org.eclipse.egit.core.importer"
           name="%gitBundleImporter"
           repository="org.eclipse.egit.core.GitProvider">
        <supports
              prefix="scm:git:">
        </supports>
     </importer>
   </extension>
   <extension
         point="org.eclipse.team.ui.scmUrlImportPages">
      <scmUrlImportPage
            importer="org.eclipse.egit.core.importer"
            page="org.eclipse.egit.ui.internal.importing.GitScmUrlImportWizardPage">
      </scmUrlImportPage>
   </extension>
</plugin>
