summaryrefslogtreecommitdiffstats
path: root/pkg/gui/gui.go
diff options
context:
space:
mode:
authorJesse Duffield <jessedduffield@gmail.com>2020-09-29 18:34:01 +1000
committerJesse Duffield <jessedduffield@gmail.com>2020-09-29 20:48:49 +1000
commit44248d9ab0818dfca6a5c1f5ee2ad5b0d45d4998 (patch)
tree832829129b6cc3690fc51e2c254d8b71d0de4657 /pkg/gui/gui.go
parentc87b2c02fa2c82dd07a77335df6c7d2e7817a012 (diff)
pull branch model out into models package
Diffstat (limited to 'pkg/gui/gui.go')
-rw-r--r--pkg/gui/gui.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/pkg/gui/gui.go b/pkg/gui/gui.go
index d35fe59be..c1d52bee3 100644
--- a/pkg/gui/gui.go
+++ b/pkg/gui/gui.go
@@ -25,6 +25,7 @@ import (
"github.com/jesseduffield/lazygit/pkg/commands/patch"
"github.com/jesseduffield/lazygit/pkg/config"
"github.com/jesseduffield/lazygit/pkg/i18n"
+ "github.com/jesseduffield/lazygit/pkg/models"
"github.com/jesseduffield/lazygit/pkg/tasks"
"github.com/jesseduffield/lazygit/pkg/theme"
"github.com/jesseduffield/lazygit/pkg/updates"
@@ -273,7 +274,7 @@ type Modes struct {
type guiState struct {
Files []*commands.File
SubmoduleConfigs []*commands.SubmoduleConfig
- Branches []*commands.Branch
+ Branches []*models.Branch
Commits []*commands.Commit
StashEntries []*commands.StashEntry
CommitFiles []*commands.CommitFile