Skip to content

Commit

Permalink
Add index to unstage command (eclipse-theia#11635)
Browse files Browse the repository at this point in the history
Co-authored-by: Colin Grant <[email protected]>
Co-authored-by: Vince Fugnitto <[email protected]>
  • Loading branch information
2 people authored and erezmus committed Jun 12, 2023
1 parent 40f7db0 commit df5b984
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/git/src/browser/git-scm-provider.ts
Original file line number Diff line number Diff line change
Expand Up @@ -335,7 +335,7 @@ export class GitScmProvider implements ScmProvider {
}
);
if (stagedUris.length !== 0) {
await this.git.unstage(repository, uris);
await this.git.unstage(repository, uris, { reset: 'index' });
}
} catch (error) {
this.gitErrorHandler.handleError(error);
Expand Down

0 comments on commit df5b984

Please sign in to comment.