diff options
author | Jesse Duffield <jessedduffield@gmail.com> | 2020-03-21 11:56:34 +1100 |
---|---|---|
committer | Jesse Duffield <jessedduffield@gmail.com> | 2020-03-25 09:39:04 +1100 |
commit | f80d15062b4296c452645b167e76c1a5a13e52fc (patch) | |
tree | 7b3d14c768c69e6a4095483c9d9679dc2f4103bc /pkg/gui/remote_branches_panel.go | |
parent | b1b0219f04ab0e17dd0ce0f5469dee7daecf2717 (diff) |
use reflog undo history pointer
Diffstat (limited to 'pkg/gui/remote_branches_panel.go')
-rw-r--r-- | pkg/gui/remote_branches_panel.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/gui/remote_branches_panel.go b/pkg/gui/remote_branches_panel.go index 48aa62b5b..28270dac2 100644 --- a/pkg/gui/remote_branches_panel.go +++ b/pkg/gui/remote_branches_panel.go @@ -76,7 +76,7 @@ func (gui *Gui) handleCheckoutRemoteBranch(g *gocui.Gui, v *gocui.View) error { if remoteBranch == nil { return nil } - if err := gui.handleCheckoutRef(remoteBranch.RemoteName + "/" + remoteBranch.Name); err != nil { + if err := gui.handleCheckoutRef(remoteBranch.RemoteName+"/"+remoteBranch.Name, nil); err != nil { return err } return gui.switchBranchesPanelContext("local-branches") |