mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-25 02:58:56 +01:00
Git - move compare with merge base action into the context menu (#273981)
This commit is contained in:
@@ -1021,7 +1021,7 @@
|
||||
"command": "git.graph.compareWithMergeBase",
|
||||
"title": "%command.graphCompareWithMergeBase%",
|
||||
"category": "Git",
|
||||
"enablement": "!operationInProgress && git.currentHistoryItemHasMergeBase"
|
||||
"enablement": "!operationInProgress && scmCurrentHistoryItemRefHasBase"
|
||||
}
|
||||
],
|
||||
"continueEditSession": [
|
||||
@@ -2270,11 +2270,6 @@
|
||||
"command": "git.graph.openOutgoingChanges",
|
||||
"when": "scmProvider == git",
|
||||
"group": "1_changes@2"
|
||||
},
|
||||
{
|
||||
"command": "git.graph.compareWithMergeBase",
|
||||
"when": "scmProvider == git",
|
||||
"group": "2_compare@1"
|
||||
}
|
||||
],
|
||||
"scm/historyItem/context": [
|
||||
@@ -2303,6 +2298,11 @@
|
||||
"when": "scmProvider == git",
|
||||
"group": "5_compare@1"
|
||||
},
|
||||
{
|
||||
"command": "git.graph.compareWithMergeBase",
|
||||
"when": "scmProvider == git && scmHistoryItemHasCurrentHistoryItemRef",
|
||||
"group": "5_compare@2"
|
||||
},
|
||||
{
|
||||
"command": "git.copyCommitId",
|
||||
"when": "scmProvider == git && !listMultiSelection",
|
||||
|
||||
Reference in New Issue
Block a user