Skip to content

Commit 48c0280

Browse files
authored
Git - fix issue related to opening parent repositories (microsoft#196822) (microsoft#196962)
1 parent ee4bf92 commit 48c0280

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

extensions/git/src/model.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -602,8 +602,8 @@ export class Model implements IRepositoryResolver, IBranchProtectionProviderRegi
602602
}
603603

604604
async openParentRepository(repoPath: string): Promise<void> {
605-
await this.openRepository(repoPath);
606605
this._parentRepositoriesManager.openRepository(repoPath);
606+
await this.openRepository(repoPath);
607607
}
608608

609609
private async getRepositoryRoot(repoPath: string): Promise<{ repositoryRoot: string; unsafeRepositoryMatch: RegExpMatchArray | null }> {

0 commit comments

Comments
 (0)