mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-22 09:38:38 +01:00
git: fix content provider events
This commit is contained in:
@@ -51,8 +51,6 @@ export class GitContentProvider {
|
||||
}
|
||||
|
||||
private fireChangeEvents(): void {
|
||||
this.changedRepositoryRoots.clear();
|
||||
|
||||
Object.keys(this.cache).forEach(key => {
|
||||
const uri = this.cache[key].uri;
|
||||
const fsPath = uri.fsPath;
|
||||
@@ -64,6 +62,8 @@ export class GitContentProvider {
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
this.changedRepositoryRoots.clear();
|
||||
}
|
||||
|
||||
async provideTextDocumentContent(uri: Uri): Promise<string> {
|
||||
|
||||
Reference in New Issue
Block a user