diff --git a/extensions/git/package.json b/extensions/git/package.json index 68e85b7e8e8..70d53e46a80 100644 --- a/extensions/git/package.json +++ b/extensions/git/package.json @@ -393,8 +393,8 @@ "category": "Git" }, { - "command": "git.dropStash", - "title": "%command.dropStash%", + "command": "git.stashDrop", + "title": "%command.stashDrop%", "category": "Git" } ], @@ -649,7 +649,7 @@ "when": "config.git.enabled && gitOpenRepositoryCount != 0" }, { - "command": "git.dropStash", + "command": "git.stashDrop", "when": "config.get.enabled && gitOpenRepositoryCount != 0" } ], @@ -805,7 +805,7 @@ "when": "scmProvider == git" }, { - "command": "git.dropStash", + "command": "git.stashDrop", "group": "6_stash", "when": "scmProvider == git" }, diff --git a/extensions/git/package.nls.json b/extensions/git/package.nls.json index 16abfa896ee..942f987ee6c 100644 --- a/extensions/git/package.nls.json +++ b/extensions/git/package.nls.json @@ -62,7 +62,7 @@ "command.stashPopLatest": "Pop Latest Stash", "command.stashApply": "Apply Stash...", "command.stashApplyLatest": "Apply Latest Stash", - "command.dropStash": "Drop Stash...", + "command.stashDrop": "Drop Stash...", "config.enabled": "Whether git is enabled.", "config.path": "Path and filename of the git executable, e.g. `C:\\Program Files\\Git\\bin\\git.exe` (Windows).", "config.autoRepositoryDetection": "Configures when repositories should be automatically detected.", diff --git a/extensions/git/src/commands.ts b/extensions/git/src/commands.ts index 46f8cf37ec0..c5f444cc2c0 100755 --- a/extensions/git/src/commands.ts +++ b/extensions/git/src/commands.ts @@ -2095,8 +2095,8 @@ export class CommandCenter { await repository.applyStash(); } - @command('git.dropStash', { repository: true }) - async dropStash(repository: Repository): Promise { + @command('git.stashDrop', { repository: true }) + async stashDrop(repository: Repository): Promise { const placeHolder = localize('pick stash to drop', "Pick a stash to drop"); const stash = await this.pickStash(repository, placeHolder);