提交 0e858933 编写于 作者: J Joao Moreno

scm: remove unimplemented commands

上级 6f781ddf
......@@ -180,22 +180,22 @@
{
"command": "git.pull",
"group": "1_sync",
"when": "scmProvider == git"
"when": "scmProvider == none"
},
{
"command": "git.pullRebase",
"group": "1_sync",
"when": "scmProvider == git"
"when": "scmProvider == none"
},
{
"command": "git.push",
"group": "1_sync",
"when": "scmProvider == git"
"when": "scmProvider == none"
},
{
"command": "git.pushTo",
"group": "1_sync",
"when": "scmProvider == git"
"when": "scmProvider == none"
},
{
"command": "git.publish",
......@@ -205,27 +205,27 @@
{
"command": "git.commitStaged",
"group": "3_commit",
"when": "scmProvider == git"
"when": "scmProvider == none"
},
{
"command": "git.commitStagedSigned",
"group": "3_commit",
"when": "scmProvider == git"
"when": "scmProvider == none"
},
{
"command": "git.commitAll",
"group": "3_commit",
"when": "scmProvider == git"
"when": "scmProvider == none"
},
{
"command": "git.commitAllSigned",
"group": "3_commit",
"when": "scmProvider == git"
"when": "scmProvider == none"
},
{
"command": "git.undoCommit",
"group": "3_commit",
"when": "scmProvider == git"
"when": "scmProvider == none"
},
{
"command": "git.unstageAll",
......
......@@ -381,6 +381,12 @@ export class CommandCenter {
await Promise.reject('not implemented');
}
@CommandCenter.Command('git.push')
@CommandCenter.CatchErrors
async push(): Promise<void> {
await Promise.reject('not implemented');
}
@CommandCenter.Command('git.pushTo')
@CommandCenter.CatchErrors
async pushTo(): Promise<void> {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册