summaryrefslogtreecommitdiffstats
path: root/pkg/gui/gui.go
diff options
context:
space:
mode:
authorJesse Duffield <jessedduffield@gmail.com>2020-08-21 19:53:45 +1000
committerJesse Duffield <jessedduffield@gmail.com>2020-08-23 14:29:18 +1000
commit2d90e1e8ee5ccb3d2acd8678e68137645c9e65bd (patch)
treecb623a51873bd086967ea794b21210861ce5031e /pkg/gui/gui.go
parentddf25e14afe5ddfc2527149c54ea55ea2e83610a (diff)
commit files kind of generalised
Diffstat (limited to 'pkg/gui/gui.go')
-rw-r--r--pkg/gui/gui.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/pkg/gui/gui.go b/pkg/gui/gui.go
index e0ab0c724..aa7a72d0a 100644
--- a/pkg/gui/gui.go
+++ b/pkg/gui/gui.go
@@ -188,6 +188,7 @@ type commitFilesPanelState struct {
// this is the SHA of the commit or the stash index of the stash.
// Not sure if ref is actually the right word here
refName string
+ isStash bool // true if we're dealing with a stash entry rather than a commit
}
type panelStates struct {