summaryrefslogtreecommitdiffstats
path: root/pkg/gui/commits_panel.go
diff options
context:
space:
mode:
authorJesse Duffield <jessedduffield@gmail.com>2020-08-22 11:57:44 +1000
committerJesse Duffield <jessedduffield@gmail.com>2020-08-23 14:29:18 +1000
commit442f6cd854d972c3797ca203c8de6943fe81d2ca (patch)
treebd4b60dce12233f2bc15111efd7c473b58005b39 /pkg/gui/commits_panel.go
parentc2b154acad4e1040bdc0e09cf44733ccd877923b (diff)
more cherry picking stuff, mostly around the reflog
Diffstat (limited to 'pkg/gui/commits_panel.go')
-rw-r--r--pkg/gui/commits_panel.go5
1 files changed, 0 insertions, 5 deletions
diff --git a/pkg/gui/commits_panel.go b/pkg/gui/commits_panel.go
index d74eec550..e1bd262bf 100644
--- a/pkg/gui/commits_panel.go
+++ b/pkg/gui/commits_panel.go
@@ -554,11 +554,6 @@ func (gui *Gui) handleOpenSearchForCommitsPanel(g *gocui.Gui, v *gocui.View) err
return gui.handleOpenSearch(gui.g, v)
}
-func (gui *Gui) handleResetCherryPick(g *gocui.Gui, v *gocui.View) error {
- gui.State.Modes.CherryPicking.CherryPickedCommits = []*commands.Commit{}
- return gui.Contexts.BranchCommits.Context.HandleRender()
-}
-
func (gui *Gui) handleGotoBottomForCommitsPanel(g *gocui.Gui, v *gocui.View) error {
// we usually lazyload these commits but now that we're searching we need to load them now
if gui.State.Panels.Commits.LimitCommits {