summaryrefslogtreecommitdiffstats
path: root/pkg/gui/remote_branches_panel.go
diff options
context:
space:
mode:
authorJesse Duffield <jessedduffield@gmail.com>2019-11-17 10:23:06 +1100
committerJesse Duffield <jessedduffield@gmail.com>2019-11-21 22:07:14 +1100
commit1f3e1720a3a0bd31c0816a94d0b7c5bca1589f96 (patch)
tree5ad5c1f01b31cdf9e4fed9cdc0a4779a2bf442b8 /pkg/gui/remote_branches_panel.go
parentb7f2d0366b2c9b8ac034e426661db4ea72a7bb14 (diff)
split RemoteBranch out from Branch
Diffstat (limited to 'pkg/gui/remote_branches_panel.go')
-rw-r--r--pkg/gui/remote_branches_panel.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/gui/remote_branches_panel.go b/pkg/gui/remote_branches_panel.go
index 93978bc3c..544e8bf81 100644
--- a/pkg/gui/remote_branches_panel.go
+++ b/pkg/gui/remote_branches_panel.go
@@ -12,7 +12,7 @@ import (
// list panel functions
-func (gui *Gui) getSelectedRemoteBranch() *commands.Branch {
+func (gui *Gui) getSelectedRemoteBranch() *commands.RemoteBranch {
selectedLine := gui.State.Panels.RemoteBranches.SelectedLine
if selectedLine == -1 || len(gui.State.RemoteBranches) == 0 {
return nil