Git - fix issue related to opening parent repositories (#196822)

This commit is contained in:
Ladislau Szomoru 2023-10-27 15:42:08 +02:00 committed by GitHub
parent 9e0bd20b88
commit 56088b01d9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -602,8 +602,8 @@ export class Model implements IRepositoryResolver, IBranchProtectionProviderRegi
}
async openParentRepository(repoPath: string): Promise<void> {
await this.openRepository(repoPath);
this._parentRepositoriesManager.openRepository(repoPath);
await this.openRepository(repoPath);
}
private async getRepositoryRoot(repoPath: string): Promise<{ repositoryRoot: string; unsafeRepositoryMatch: RegExpMatchArray | null }> {