summaryrefslogtreecommitdiffstats
path: root/pkg/gui/stash_panel.go
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/gui/stash_panel.go')
-rw-r--r--pkg/gui/stash_panel.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkg/gui/stash_panel.go b/pkg/gui/stash_panel.go
index 61dd6afd8..13837a502 100644
--- a/pkg/gui/stash_panel.go
+++ b/pkg/gui/stash_panel.go
@@ -22,10 +22,10 @@ func (gui *Gui) stashRenderToMain() error {
if stashEntry == nil {
task = NewRenderStringTask(gui.Tr.NoStashEntries)
} else {
- cmd := gui.OSCommand.ExecutableFromString(
+ cmdObj := gui.OSCommand.NewCmdObj(
gui.GitCommand.ShowStashEntryCmdStr(stashEntry.Index),
)
- task = NewRunPtyTask(cmd)
+ task = NewRunPtyTask(cmdObj.GetCmd())
}
return gui.refreshMainViews(refreshMainOpts{