mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-26 03:29:00 +01:00
SCM - graph always scoped to one repository (#227302)
* Initial implementation of the view * Extract things into SCMHistoryViewModel * Add repository name in the title description * Set the scmProvider context key
This commit is contained in:
@@ -527,6 +527,7 @@
|
||||
{
|
||||
"command": "git.fetchAll",
|
||||
"title": "%command.fetchAll%",
|
||||
"icon": "$(git-fetch)",
|
||||
"category": "Git",
|
||||
"enablement": "!operationInProgress"
|
||||
},
|
||||
@@ -1936,24 +1937,9 @@
|
||||
],
|
||||
"scm/history/title": [
|
||||
{
|
||||
"command": "git.fetchRef",
|
||||
"command": "git.fetchAll",
|
||||
"group": "navigation@1",
|
||||
"when": "scmProvider == git && scmHistoryItemGroupHasRemote"
|
||||
},
|
||||
{
|
||||
"command": "git.pullRef",
|
||||
"group": "navigation@2",
|
||||
"when": "scmProvider == git && scmHistoryItemGroupHasRemote"
|
||||
},
|
||||
{
|
||||
"command": "git.pushRef",
|
||||
"when": "scmProvider == git && scmHistoryItemGroupHasRemote",
|
||||
"group": "navigation@3"
|
||||
},
|
||||
{
|
||||
"command": "git.publish",
|
||||
"when": "scmProvider == git && !scmHistoryItemGroupHasRemote",
|
||||
"group": "navigation@3"
|
||||
"when": "scmProvider == git"
|
||||
}
|
||||
],
|
||||
"scm/historyItem/context": [
|
||||
|
||||
Reference in New Issue
Block a user