diff --git a/extensions/git/package.json b/extensions/git/package.json index f5608879a1b..8ecbeffe76a 100644 --- a/extensions/git/package.json +++ b/extensions/git/package.json @@ -84,12 +84,6 @@ "command": "git.openChange", "title": "%command.openChange%", "category": "Git", - "icon": "$(compare-changes)" - }, - { - "command": "git.openChangeEditor", - "title": "%command.openChange%", - "category": "Git", "icon": "$(compare-changes)", "enablement": "scmActiveResourceHasChanges" }, @@ -613,10 +607,6 @@ }, { "command": "git.openChange", - "when": "false" - }, - { - "command": "git.openChangeEditor", "when": "config.git.enabled && !git.missing && gitOpenRepositoryCount != 0" }, { @@ -1378,7 +1368,7 @@ "when": "config.git.enabled && !git.missing && gitOpenRepositoryCount != 0 && isInNotebookTextDiffEditor && resourceScheme =~ /^git$|^file$/" }, { - "command": "git.openChangeEditor", + "command": "git.openChange", "group": "navigation", "when": "config.git.enabled && !git.missing && gitOpenRepositoryCount != 0 && !isInDiffEditor && resourceScheme == file" }, diff --git a/extensions/git/src/commands.ts b/extensions/git/src/commands.ts index 458a31fcb35..297b1c1c692 100644 --- a/extensions/git/src/commands.ts +++ b/extensions/git/src/commands.ts @@ -764,7 +764,6 @@ export class CommandCenter { } @command('git.openChange') - @command('git.openChangeEditor') async openChange(arg?: Resource | Uri, ...resourceStates: SourceControlResourceState[]): Promise { let resources: Resource[] | undefined = undefined;