diff --git a/extensions/git/src/git.ts b/extensions/git/src/git.ts index 1de38653db4..bd0e4d9f576 100644 --- a/extensions/git/src/git.ts +++ b/extensions/git/src/git.ts @@ -1267,12 +1267,12 @@ export class Repository { async popStash(index?: number): Promise { const args = ['stash', 'pop']; - this.popOrApplyStash(args, index); + await this.popOrApplyStash(args, index); } async applyStash(index?: number): Promise { const args = ['stash', 'apply']; - this.popOrApplyStash(args, index); + await this.popOrApplyStash(args, index); } private async popOrApplyStash(args: string[], index?: number): Promise { @@ -1293,7 +1293,6 @@ export class Repository { } } - getStatus(limit = 5000): Promise<{ status: IFileStatus[]; didHitLimit: boolean; }> { return new Promise<{ status: IFileStatus[]; didHitLimit: boolean; }>((c, e) => { const parser = new GitStatusParser();