Skip to content

Commit f58a56e

Browse files
Handle worktree errors (microsoft#259106)
* fix worktree error handling * remove print statement * clean up
1 parent ce135b9 commit f58a56e

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

extensions/git/src/commands.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3622,6 +3622,8 @@ export class CommandCenter {
36223622
}
36233623

36243624
private async handleWorktreeConflict(path: string, message: string): Promise<void> {
3625+
await this.model.openRepository(path, true);
3626+
36253627
const worktreeRepository = this.model.getRepository(path);
36263628

36273629
if (!worktreeRepository) {

0 commit comments

Comments
 (0)