From 8ee4d2c2fa8c98b049e67a1d48d63587af7e29ac Mon Sep 17 00:00:00 2001 From: Eric Amodio Date: Thu, 12 Sep 2019 01:02:08 -0400 Subject: [PATCH] Adds descriptions to stash sub-commands --- src/commands/git/stash.ts | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/commands/git/stash.ts b/src/commands/git/stash.ts index 7bf45ad..afc6a69 100644 --- a/src/commands/git/stash.ts +++ b/src/commands/git/stash.ts @@ -70,7 +70,7 @@ export class StashGitCommand extends QuickCommandBase { constructor(args?: StashGitCommandArgs) { super('stash', 'stash', 'Stash', { - description: 'shelves (stashes) changes from the working tree to be reapplied later' + description: 'shelves (stashes) local changes to be reapplied later' }); if (args == null || args.state === undefined) return; @@ -135,21 +135,27 @@ export class StashGitCommand extends QuickCommandBase { items: [ { label: 'apply', + description: 'integrates changes from the specified stash into the current branch', picked: state.subcommand === 'apply', item: 'apply' }, { label: 'drop', + description: 'deletes the specified stash', picked: state.subcommand === 'drop', item: 'drop' }, { label: 'pop', + description: + 'integrates changes from the specified stash into the current branch and deletes the stash', picked: state.subcommand === 'pop', item: 'pop' }, { label: 'push', + description: + 'saves your local changes to a new stash and discards them from the working tree and index', picked: state.subcommand === 'push', item: 'push' }