Merge branch 'git-merge' of https://github.com/gecharo/vscode into gecharo-git-merge

This commit is contained in:
Joao Moreno
2017-06-26 09:56:42 +02:00
5 changed files with 50 additions and 3 deletions

View File

@@ -654,6 +654,11 @@ export class Repository {
await this.run(args);
}
async merge(name: string): Promise<void> {
const args = ['merge', name];
await this.run(args);
}
async clean(paths: string[]): Promise<void> {
const pathsByGroup = groupBy(paths, p => path.dirname(p));
const groups = Object.keys(pathsByGroup).map(k => pathsByGroup[k]);