git: merge decorator

fixes #18663
This commit is contained in:
Joao Moreno
2017-01-19 17:00:50 +01:00
parent d0badb14da
commit 424812d9ba
3 changed files with 157 additions and 1 deletions

View File

@@ -14,6 +14,7 @@ import { CheckoutStatusBar, SyncStatusBar } from './statusbar';
import { filterEvent, anyEvent } from './util';
import { GitContentProvider } from './contentProvider';
import { AutoFetcher } from './autofetch';
import { MergeDecorator } from './merge';
import * as nls from 'vscode-nls';
const localize = nls.config()();
@@ -46,6 +47,7 @@ async function init(disposables: Disposable[]): Promise<void> {
const checkoutStatusBar = new CheckoutStatusBar(model);
const syncStatusBar = new SyncStatusBar(model);
const autoFetcher = new AutoFetcher(model);
const mergeDecorator = new MergeDecorator(model);
disposables.push(
commandCenter,
@@ -55,7 +57,8 @@ async function init(disposables: Disposable[]): Promise<void> {
fsWatcher,
checkoutStatusBar,
syncStatusBar,
autoFetcher
autoFetcher,
mergeDecorator
);
}