Skip to content

Commit

Permalink
Git - stash untracked filed during checkout (#214768) (#236057)
Browse files Browse the repository at this point in the history
  • Loading branch information
lszomoru authored Dec 13, 2024
1 parent f143959 commit e4cf87c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion extensions/git/src/commands.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2619,7 +2619,7 @@ export class CommandCenter {
await this.cleanAll(repository);
await item.run(repository, opts);
} else if (choice === stash || choice === migrate) {
if (await this._stash(repository)) {
if (await this._stash(repository, true)) {
await item.run(repository, opts);

if (choice === migrate) {
Expand Down

0 comments on commit e4cf87c

Please sign in to comment.