mirror of
https://github.com/ckaczor/vscode-gitlens.git
synced 2026-02-17 02:51:47 -05:00
Removes insiders flag from stash view
This commit is contained in:
@@ -89,17 +89,10 @@ export async function activate(context: ExtensionContext) {
|
|||||||
|
|
||||||
context.subscriptions.push(new Keyboard());
|
context.subscriptions.push(new Keyboard());
|
||||||
|
|
||||||
// let explorer: GitExplorer | undefined = undefined;
|
// const explorer = new GitExplorer(context, git);
|
||||||
// if (cfg.insiders) {
|
// context.subscriptions.push(window.registerTreeDataProvider('gitlens.gitExplorer', explorer));
|
||||||
// explorer = new GitExplorer(context, git);
|
|
||||||
// context.subscriptions.push(window.registerTreeDataProvider('gitlens.gitExplorer', explorer));
|
|
||||||
// }
|
|
||||||
|
|
||||||
let stashExplorer;
|
context.subscriptions.push(window.registerTreeDataProvider('gitlens.stashExplorer', new StashExplorer(context, git)));
|
||||||
if (cfg.insiders) {
|
|
||||||
stashExplorer = new StashExplorer(context, git);
|
|
||||||
context.subscriptions.push(window.registerTreeDataProvider('gitlens.stashExplorer', stashExplorer));
|
|
||||||
}
|
|
||||||
|
|
||||||
context.subscriptions.push(new CloseUnchangedFilesCommand(git));
|
context.subscriptions.push(new CloseUnchangedFilesCommand(git));
|
||||||
context.subscriptions.push(new OpenChangedFilesCommand(git));
|
context.subscriptions.push(new OpenChangedFilesCommand(git));
|
||||||
|
|||||||
Reference in New Issue
Block a user