summaryrefslogtreecommitdiffstats
path: root/pkg/commands/loading_stash.go
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/commands/loading_stash.go')
-rw-r--r--pkg/commands/loading_stash.go4
1 files changed, 1 insertions, 3 deletions
diff --git a/pkg/commands/loading_stash.go b/pkg/commands/loading_stash.go
index 3b79bdfb4..8d0b4a817 100644
--- a/pkg/commands/loading_stash.go
+++ b/pkg/commands/loading_stash.go
@@ -1,7 +1,6 @@
package commands
import (
- "fmt"
"regexp"
"strconv"
"strings"
@@ -26,8 +25,7 @@ func (c *GitCommand) GetStashEntries(filterPath string) []*models.StashEntry {
return c.getUnfilteredStashEntries()
}
- unescaped := fmt.Sprintf("git stash list --name-only")
- rawString, err := c.OSCommand.RunCommandWithOutput(unescaped)
+ rawString, err := c.OSCommand.RunCommandWithOutput("git stash list --name-only")
if err != nil {
return c.getUnfilteredStashEntries()
}