mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-28 12:33:35 +01:00
git: multirepo autofetcher
This commit is contained in:
@@ -10,6 +10,7 @@ import { Repository as BaseRepository, Ref, Branch, Remote, Commit, GitErrorCode
|
||||
import { anyEvent, filterEvent, eventToPromise, dispose, find } from './util';
|
||||
import { memoize, throttle, debounce } from './decorators';
|
||||
import { toGitUri } from './uri';
|
||||
import { AutoFetcher } from './autofetch';
|
||||
import * as path from 'path';
|
||||
import * as nls from 'vscode-nls';
|
||||
import * as fs from 'fs';
|
||||
@@ -376,6 +377,8 @@ export class Repository implements Disposable {
|
||||
this.disposables.push(this.indexGroup);
|
||||
this.disposables.push(this.workingTreeGroup);
|
||||
|
||||
this.disposables.push(new AutoFetcher(this));
|
||||
|
||||
this.updateCommitTemplate();
|
||||
this.status();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user