summaryrefslogtreecommitdiffstats
path: root/pkg/gui/gui.go
diff options
context:
space:
mode:
authorJesse Duffield <jessedduffield@gmail.com>2020-09-29 18:46:45 +1000
committerJesse Duffield <jessedduffield@gmail.com>2020-09-29 20:48:49 +1000
commit91f0b0e28fb93bf715a4fda67fcbb400ffbc680b (patch)
treeaa6e19417268c86129e967997582006bfb6f3784 /pkg/gui/gui.go
parent8d2af5cc61c8bc94da6f608598ff27aead491c6a (diff)
move stash panel
Diffstat (limited to 'pkg/gui/gui.go')
-rw-r--r--pkg/gui/gui.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkg/gui/gui.go b/pkg/gui/gui.go
index cdfa5d8b6..02bb27a65 100644
--- a/pkg/gui/gui.go
+++ b/pkg/gui/gui.go
@@ -276,7 +276,7 @@ type guiState struct {
SubmoduleConfigs []*models.SubmoduleConfig
Branches []*models.Branch
Commits []*models.Commit
- StashEntries []*commands.StashEntry
+ StashEntries []*models.StashEntry
CommitFiles []*commands.CommitFile
// FilteredReflogCommits are the ones that appear in the reflog panel.
// when in filtering mode we only include the ones that match the given path
@@ -353,7 +353,7 @@ func (gui *Gui) resetState() {
Commits: make([]*models.Commit, 0),
FilteredReflogCommits: make([]*models.Commit, 0),
ReflogCommits: make([]*models.Commit, 0),
- StashEntries: make([]*commands.StashEntry, 0),
+ StashEntries: make([]*models.StashEntry, 0),
Panels: &panelStates{
// TODO: work out why some of these are -1 and some are 0. Last time I checked there was a good reason but I'm less certain now
Files: &filePanelState{listPanelState{SelectedLineIdx: -1}},