mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-24 10:38:59 +01:00
git: fix null resources
This commit is contained in:
@@ -9,7 +9,6 @@ import { scm, ExtensionContext, workspace, Uri, window, Disposable } from 'vscod
|
||||
import * as path from 'path';
|
||||
import { findGit, Git } from './git';
|
||||
import { Model } from './model';
|
||||
import { log } from './util';
|
||||
import { GitSCMProvider } from './scmProvider';
|
||||
import { registerCommands } from './commands';
|
||||
import * as nls from 'vscode-nls';
|
||||
@@ -52,8 +51,6 @@ async function init(disposables: Disposable[]): Promise<void> {
|
||||
const model = new Model(repositoryRoot, repository);
|
||||
const provider = new GitSCMProvider(model);
|
||||
|
||||
provider.onDidChange(g => log(g));
|
||||
|
||||
const outputChannel = window.createOutputChannel('git');
|
||||
outputChannel.appendLine(`Using git ${info.version} from ${info.path}`);
|
||||
git.onOutput(str => outputChannel.append(str), null, disposables);
|
||||
|
||||
Reference in New Issue
Block a user