mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-24 10:38:59 +01:00
git: autofetch
This commit is contained in:
@@ -13,6 +13,7 @@ import { CommandCenter } from './commands';
|
||||
import { CheckoutStatusBar, SyncStatusBar } from './statusbar';
|
||||
import { filterEvent, anyEvent, throttle } from './util';
|
||||
import { GitContentProvider } from './contentProvider';
|
||||
import { AutoFetcher } from './autofetch';
|
||||
import * as nls from 'vscode-nls';
|
||||
import { decorate, debounce } from 'core-decorators';
|
||||
|
||||
@@ -73,6 +74,8 @@ async function init(disposables: Disposable[]): Promise<void> {
|
||||
const checkoutStatusBar = new CheckoutStatusBar(model);
|
||||
const syncStatusBar = new SyncStatusBar(model);
|
||||
|
||||
const autoFetcher = new AutoFetcher(model);
|
||||
|
||||
disposables.push(
|
||||
commandCenter,
|
||||
provider,
|
||||
@@ -81,7 +84,8 @@ async function init(disposables: Disposable[]): Promise<void> {
|
||||
fsWatcher,
|
||||
watcher,
|
||||
checkoutStatusBar,
|
||||
syncStatusBar
|
||||
syncStatusBar,
|
||||
autoFetcher
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user