mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-24 18:49:00 +01:00
SCM - add basic context menu to history graph (#222162)
This commit is contained in:
@@ -894,6 +894,16 @@
|
||||
"icon": "$(diff-multiple)",
|
||||
"category": "Git",
|
||||
"enablement": "!operationInProgress"
|
||||
},
|
||||
{
|
||||
"command": "git.copyCommitId",
|
||||
"title": "%command.timelineCopyCommitId%",
|
||||
"category": "Git"
|
||||
},
|
||||
{
|
||||
"command": "git.copyCommitMessage",
|
||||
"title": "%command.timelineCopyCommitMessage%",
|
||||
"category": "Git"
|
||||
}
|
||||
],
|
||||
"continueEditSession": [
|
||||
@@ -1429,6 +1439,14 @@
|
||||
{
|
||||
"command": "git.pushRef",
|
||||
"when": "false"
|
||||
},
|
||||
{
|
||||
"command": "git.copyCommitId",
|
||||
"when": "false"
|
||||
},
|
||||
{
|
||||
"command": "git.copyCommitMessage",
|
||||
"when": "false"
|
||||
}
|
||||
],
|
||||
"scm/title": [
|
||||
@@ -1940,6 +1958,23 @@
|
||||
"group": "navigation@3"
|
||||
}
|
||||
],
|
||||
"scm/historyItem/context": [
|
||||
{
|
||||
"command": "git.viewCommit",
|
||||
"when": "scmProvider == git && scmHistoryItemFileCount != 0 && !listMultiSelection && config.multiDiffEditor.experimental.enabled",
|
||||
"group": "1_view@1"
|
||||
},
|
||||
{
|
||||
"command": "git.copyCommitId",
|
||||
"when": "scmProvider == git && !listMultiSelection",
|
||||
"group": "3_copy@1"
|
||||
},
|
||||
{
|
||||
"command": "git.copyCommitMessage",
|
||||
"when": "scmProvider == git && !listMultiSelection",
|
||||
"group": "3_copy@2"
|
||||
}
|
||||
],
|
||||
"scm/incomingChanges": [
|
||||
{
|
||||
"command": "git.fetchRef",
|
||||
|
||||
Reference in New Issue
Block a user