File tree Expand file tree Collapse file tree 1 file changed +4
-6
lines changed Expand file tree Collapse file tree 1 file changed +4
-6
lines changed Original file line number Diff line number Diff line change @@ -659,14 +659,12 @@ export class StashGitCommand extends QuickCommand<State> {
659659 label : context . title ,
660660 detail : `Will stash ${ stagedOnly ? 'staged' : 'uncommitted' } changes` ,
661661 } ) ,
662+ createFlagsQuickPickItem < PushFlags > ( state . flags , [ ...baseFlags , '--snapshot' ] , {
663+ label : `${ context . title } Snapshot` ,
664+ detail : 'Will stash uncommitted changes without changing the working tree' ,
665+ } ) ,
662666 ) ;
663667 if ( ! stagedOnly ) {
664- confirmations . push (
665- createFlagsQuickPickItem < PushFlags > ( state . flags , [ ...baseFlags , '--snapshot' ] , {
666- label : `${ context . title } Snapshot` ,
667- detail : 'Will stash uncommitted changes without changing the working tree' ,
668- } ) ,
669- ) ;
670668 confirmations . push (
671669 createFlagsQuickPickItem < PushFlags > ( state . flags , [ ...baseFlags , '--include-untracked' ] , {
672670 label : `${ context . title } & Include Untracked` ,
You can’t perform that action at this time.
0 commit comments