summaryrefslogtreecommitdiffstats
path: root/pkg/gui/gui.go
diff options
context:
space:
mode:
authorJesse Duffield <jessedduffield@gmail.com>2020-09-28 09:14:32 +1000
committerJesse Duffield <jessedduffield@gmail.com>2020-09-29 18:21:59 +1000
commitb8da166ab1c66671d681bc2454b911993716de58 (patch)
tree6c85b73b530d2771c901024dbd1cc762ccbfa208 /pkg/gui/gui.go
parentca437a65046d5af0c90c337b125af4538e625502 (diff)
support discarding submodule changes
Diffstat (limited to 'pkg/gui/gui.go')
-rw-r--r--pkg/gui/gui.go11
1 files changed, 6 insertions, 5 deletions
diff --git a/pkg/gui/gui.go b/pkg/gui/gui.go
index db6624ec0..94634113b 100644
--- a/pkg/gui/gui.go
+++ b/pkg/gui/gui.go
@@ -271,11 +271,12 @@ type Modes struct {
}
type guiState struct {
- Files []*commands.File
- Branches []*commands.Branch
- Commits []*commands.Commit
- StashEntries []*commands.StashEntry
- CommitFiles []*commands.CommitFile
+ Files []*commands.File
+ SubmoduleConfigs []*commands.SubmoduleConfig
+ Branches []*commands.Branch
+ Commits []*commands.Commit
+ StashEntries []*commands.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
FilteredReflogCommits []*commands.Commit