git: multirepo autofetcher

This commit is contained in:
Joao Moreno
2017-08-18 17:37:31 +02:00
parent 93011ff01c
commit e11edbbf84
2 changed files with 5 additions and 8 deletions

View File

@@ -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();
}