mirror of
https://github.com/microsoft/vscode.git
synced 2026-05-01 22:12:26 +01:00
Git - fix post-commit command for multi-repo workspaces (#239462)
This commit is contained in:
@@ -873,7 +873,7 @@ export class Model implements IRepositoryResolver, IBranchProtectionProviderRegi
|
||||
}
|
||||
|
||||
if (hint instanceof ApiRepository) {
|
||||
return this.openRepositories.filter(r => r.repository === hint.repository)[0];
|
||||
hint = hint.rootUri;
|
||||
}
|
||||
|
||||
if (typeof hint === 'string') {
|
||||
|
||||
Reference in New Issue
Block a user