未验证 提交 f0e2c7d5 编写于 作者: F Francisco Moreira 提交者: GitHub

Fix pull

上级 7f2fd6b8
......@@ -1266,7 +1266,9 @@ export class CommandCenter {
return;
}
repository.pull(false, remotePick.label, branchPick.label);
const remoteCharCnt = remotePick.label.length;
repository.pull(false, remotePick.label, branchPick.label.slice(remoteCharCnt+1));
}
@command('git.pull', { repository: true })
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册