git: scoped git repositories

fixes #20227
This commit is contained in:
Joao Moreno
2017-02-16 16:01:16 +01:00
parent ee529b21b2
commit 6d69f69c71
3 changed files with 29 additions and 21 deletions

View File

@@ -50,7 +50,7 @@ async function init(disposables: Disposable[]): Promise<void> {
const commitHandler = new CommitController();
const commandCenter = new CommandCenter(model, outputChannel);
const provider = new GitSCMProvider(model, commandCenter);
const contentProvider = new GitContentProvider(git, rootPath, onGitChange);
const contentProvider = new GitContentProvider(model, onGitChange);
const checkoutStatusBar = new CheckoutStatusBar(model);
const syncStatusBar = new SyncStatusBar(model);
const autoFetcher = new AutoFetcher(model);