@@ -322,7 +322,7 @@ export class StashGitCommand extends QuickCommand<State> {
322
322
while ( this . canStepsContinue ( state ) ) {
323
323
if ( state . counter < 3 || state . reference == null ) {
324
324
const result : StepResult < GitStashReference > = yield * pickStashStep ( state , context , {
325
- gitStash : await this . container . git . getStash ( state . repo . path ) ,
325
+ gitStash : await state . repo . git . stash ( ) ?. getStash ( ) ,
326
326
placeholder : ( _context , stash ) =>
327
327
stash == null
328
328
? `No stashes found in ${ state . repo . formattedName } `
@@ -427,7 +427,7 @@ export class StashGitCommand extends QuickCommand<State> {
427
427
while ( this . canStepsContinue ( state ) ) {
428
428
if ( state . counter < 3 || ! state . references ?. length ) {
429
429
const result : StepResult < GitStashReference [ ] > = yield * pickStashesStep ( state , context , {
430
- gitStash : await this . container . git . getStash ( state . repo . path ) ,
430
+ gitStash : await state . repo . git . stash ( ) ?. getStash ( ) ,
431
431
placeholder : ( _context , stash ) =>
432
432
stash == null ? `No stashes found in ${ state . repo . formattedName } ` : 'Choose stashes to delete' ,
433
433
picked : state . references ?. map ( r => r . ref ) ,
@@ -481,7 +481,7 @@ export class StashGitCommand extends QuickCommand<State> {
481
481
while ( this . canStepsContinue ( state ) ) {
482
482
if ( state . counter < 3 || state . reference == null ) {
483
483
const result : StepResult < GitStashCommit > = yield * pickStashStep ( state , context , {
484
- gitStash : await this . container . git . getStash ( state . repo . path ) ,
484
+ gitStash : await state . repo . git . stash ( ) ?. getStash ( ) ,
485
485
placeholder : ( _context , stash ) =>
486
486
stash == null ? `No stashes found in ${ state . repo . formattedName } ` : 'Choose a stash' ,
487
487
picked : state . reference ?. ref ,
@@ -719,7 +719,7 @@ export class StashGitCommand extends QuickCommand<State> {
719
719
while ( this . canStepsContinue ( state ) ) {
720
720
if ( state . counter < 3 || state . reference == null ) {
721
721
const result : StepResult < GitStashReference > = yield * pickStashStep ( state , context , {
722
- gitStash : await this . container . git . getStash ( state . repo . path ) ,
722
+ gitStash : await state . repo . git . stash ( ) ?. getStash ( ) ,
723
723
placeholder : ( _context , stash ) =>
724
724
stash == null ? `No stashes found in ${ state . repo . formattedName } ` : 'Choose a stash to rename' ,
725
725
picked : state . reference ?. ref ,
0 commit comments