mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-27 03:54:24 +01:00
Merge branch 'master' into diff
This commit is contained in:
@@ -17,14 +17,14 @@ export class GitContentProvider {
|
||||
|
||||
private uris = new Set<Uri>();
|
||||
|
||||
constructor(private model: Model, onGitChange: Event<Uri>) {
|
||||
constructor(private model: Model) {
|
||||
this.disposables.push(
|
||||
onGitChange(this.fireChangeEvents, this),
|
||||
model.onDidChangeRepository(this.fireChangeEvents, this),
|
||||
workspace.registerTextDocumentContentProvider('git', this)
|
||||
);
|
||||
}
|
||||
|
||||
private fireChangeEvents(): void {
|
||||
private fireChangeEvents(arg): void {
|
||||
for (let uri of this.uris) {
|
||||
this.onDidChangeEmitter.fire(uri);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user