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/tags_panel.go | |
parent | b1b0219f04ab0e17dd0ce0f5469dee7daecf2717 (diff) |
use reflog undo history pointer
Diffstat (limited to 'pkg/gui/tags_panel.go')
-rw-r--r-- | pkg/gui/tags_panel.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/gui/tags_panel.go b/pkg/gui/tags_panel.go index 719f0f848..b92727e8c 100644 --- a/pkg/gui/tags_panel.go +++ b/pkg/gui/tags_panel.go @@ -81,7 +81,7 @@ func (gui *Gui) handleCheckoutTag(g *gocui.Gui, v *gocui.View) error { if tag == nil { return nil } - if err := gui.handleCheckoutRef(tag.Name); err != nil { + if err := gui.handleCheckoutRef(tag.Name, nil); err != nil { return err } return gui.switchBranchesPanelContext("local-branches") |