diff options
author | Jesse Duffield <jessedduffield@gmail.com> | 2020-09-29 18:41:06 +1000 |
---|---|---|
committer | Jesse Duffield <jessedduffield@gmail.com> | 2020-09-29 20:48:49 +1000 |
commit | eda4619a4f05b6720d091b31e60515f7289b9a47 (patch) | |
tree | 86c39ebf92ffc21c5abe751a6faf151788083242 /pkg/gui/remotes_panel.go | |
parent | e849ca337237f564dd90a09e40b9ca8f9d62352a (diff) |
move remotes and remote branches
Diffstat (limited to 'pkg/gui/remotes_panel.go')
-rw-r--r-- | pkg/gui/remotes_panel.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pkg/gui/remotes_panel.go b/pkg/gui/remotes_panel.go index 102ba9e33..2d0827592 100644 --- a/pkg/gui/remotes_panel.go +++ b/pkg/gui/remotes_panel.go @@ -6,13 +6,13 @@ 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" ) // list panel functions -func (gui *Gui) getSelectedRemote() *commands.Remote { +func (gui *Gui) getSelectedRemote() *models.Remote { selectedLine := gui.State.Panels.Remotes.SelectedLineIdx if selectedLine == -1 || len(gui.State.Remotes) == 0 { return nil |