[git] IJPL-84816 Add "Unshallow Repository" action to Git main menu group and VCS pop-up

(cherry picked from commit e713d0ccf39a881b701c4bdca9397137d45e1561)

IJ-CR-147381

GitOrigin-RevId: aa55d5f12e66c5be198efecb05784584f8dc04b1
This commit is contained in:
Ilia.Shulgin
2024-10-16 18:11:08 +02:00
committed by intellij-monorepo-bot
parent 4ef1ffa5b7
commit 0d52f67739
2 changed files with 4 additions and 1 deletions

View File

@@ -114,6 +114,7 @@
<reference ref="Vcs.UpdateProject"/>
<action id="Git.Pull" class="git4idea.actions.GitPull"/>
<action id="Git.Fetch" class="git4idea.actions.GitFetch" icon="AllIcons.Vcs.Fetch"/>
<action id="Git.Unshallow" class="git4idea.actions.GitUnshallowRepositoryAction"/>
<separator/>
<action id="Git.Merge" class="git4idea.actions.GitMerge" icon="AllIcons.Vcs.Merge"/>
<reference ref="Git.MainMenu.MergeActions"/>
@@ -518,7 +519,7 @@
<add-to-group group-id="Copy.Paste.Special" relative-to-action="CopyReference" anchor="after"/>
</group>
<action id="Git.Unshallow" class="git4idea.actions.GitUnshallowRepositoryAction"/>
<reference ref="Git.Unshallow"/>
</actions>
<extensions defaultExtensionNs="com.intellij">

View File

@@ -27,6 +27,8 @@ public class GitQuickListContentProvider extends DvcsQuickListContentProvider {
add("ChangesView.AddUnversioned", manager, actions);
add("Git.ResolveConflicts", manager, actions);
add("Git.Unshallow", manager, actions);
return actions;
}