mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-25 19:18:59 +01:00
Git - add command to compare a tag (#273694)
* Git - update command label * Git - add command to compare a tag
This commit is contained in:
@@ -515,8 +515,8 @@
|
||||
"enablement": "!operationInProgress"
|
||||
},
|
||||
{
|
||||
"command": "git.graph.compareBranches",
|
||||
"title": "%command.graphCompareBranches%",
|
||||
"command": "git.graph.compareBranch",
|
||||
"title": "%command.graphCompareBranch%",
|
||||
"category": "Git",
|
||||
"enablement": "!operationInProgress"
|
||||
},
|
||||
@@ -592,6 +592,12 @@
|
||||
"category": "Git",
|
||||
"enablement": "!operationInProgress"
|
||||
},
|
||||
{
|
||||
"command": "git.graph.compareTag",
|
||||
"title": "%command.graphCompareTag%",
|
||||
"category": "Git",
|
||||
"enablement": "!operationInProgress"
|
||||
},
|
||||
{
|
||||
"command": "git.deleteRemoteTag",
|
||||
"title": "%command.deleteRemoteTag%",
|
||||
@@ -1601,13 +1607,17 @@
|
||||
"when": "false"
|
||||
},
|
||||
{
|
||||
"command": "git.graph.compareBranches",
|
||||
"command": "git.graph.compareBranch",
|
||||
"when": "false"
|
||||
},
|
||||
{
|
||||
"command": "git.graph.deleteTag",
|
||||
"when": "false"
|
||||
},
|
||||
{
|
||||
"command": "git.graph.compareTag",
|
||||
"when": "false"
|
||||
},
|
||||
{
|
||||
"command": "git.graph.cherryPick",
|
||||
"when": "false"
|
||||
@@ -2276,7 +2286,7 @@
|
||||
"group": "2_branch@2"
|
||||
},
|
||||
{
|
||||
"command": "git.graph.compareBranches",
|
||||
"command": "git.graph.compareBranch",
|
||||
"when": "scmProvider == git && scmHistoryItemRef =~ /^refs\\/heads\\//",
|
||||
"group": "2_branch@3"
|
||||
},
|
||||
@@ -2284,6 +2294,11 @@
|
||||
"command": "git.graph.deleteTag",
|
||||
"when": "scmProvider == git && scmHistoryItemRef =~ /^refs\\/tags\\//",
|
||||
"group": "3_tag@2"
|
||||
},
|
||||
{
|
||||
"command": "git.graph.compareTag",
|
||||
"when": "scmProvider == git && scmHistoryItemRef =~ /^refs\\/tags\\//",
|
||||
"group": "3_tag@3"
|
||||
}
|
||||
],
|
||||
"editor/title": [
|
||||
|
||||
Reference in New Issue
Block a user