summaryrefslogtreecommitdiffstats
path: root/pkg/gui/custom_commands.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/custom_commands.go
parentc87b2c02fa2c82dd07a77335df6c7d2e7817a012 (diff)
pull branch model out into models package
Diffstat (limited to 'pkg/gui/custom_commands.go')
-rw-r--r--pkg/gui/custom_commands.go5
1 files changed, 3 insertions, 2 deletions
diff --git a/pkg/gui/custom_commands.go b/pkg/gui/custom_commands.go
index d13c2d918..847163f81 100644
--- a/pkg/gui/custom_commands.go
+++ b/pkg/gui/custom_commands.go
@@ -9,6 +9,7 @@ import (
"github.com/fatih/color"
"github.com/jesseduffield/gocui"
"github.com/jesseduffield/lazygit/pkg/commands"
+ "github.com/jesseduffield/lazygit/pkg/models"
"github.com/jesseduffield/lazygit/pkg/utils"
)
@@ -17,13 +18,13 @@ type CustomCommandObjects struct {
SelectedReflogCommit *commands.Commit
SelectedSubCommit *commands.Commit
SelectedFile *commands.File
- SelectedLocalBranch *commands.Branch
+ SelectedLocalBranch *models.Branch
SelectedRemoteBranch *commands.RemoteBranch
SelectedRemote *commands.Remote
SelectedTag *commands.Tag
SelectedStashEntry *commands.StashEntry
SelectedCommitFile *commands.CommitFile
- CheckedOutBranch *commands.Branch
+ CheckedOutBranch *models.Branch
PromptResponses []string
}