fix(git): 🐛 git api commands should be registered as contributions

Closes: #111658
This commit is contained in:
João Moreno
2021-11-09 13:24:28 +01:00
parent ace51630a9
commit 5dfa71a9e8
3 changed files with 32 additions and 1 deletions

View File

@@ -515,6 +515,21 @@
"command": "git.rebaseAbort",
"title": "%command.rebaseAbort%",
"category": "Git"
},
{
"command": "git.api.getRepositories",
"title": "%command.api.getRepositories%",
"category": "Git API"
},
{
"command": "git.api.getRepositoryState",
"title": "%command.api.getRepositoryState%",
"category": "Git API"
},
{
"command": "git.api.getRemoteSources",
"title": "%command.api.getRemoteSources%",
"category": "Git API"
}
],
"keybindings": [
@@ -898,6 +913,18 @@
{
"command": "git.timeline.compareWithSelected",
"when": "false"
},
{
"command": "git.api.getRepositories",
"when": "false"
},
{
"command": "git.api.getRepositoryState",
"when": "false"
},
{
"command": "git.api.getRemoteSources",
"when": "false"
}
],
"scm/title": [