diff options
author | Jesse Duffield <jessedduffield@gmail.com> | 2020-03-27 21:23:42 +1100 |
---|---|---|
committer | Jesse Duffield <jessedduffield@gmail.com> | 2020-03-28 11:59:45 +1100 |
commit | 61b4bbf74eb9d4e402a2527ccc15b7ff15215fb4 (patch) | |
tree | a9a0716b528a42a9082204bbe85d29c70f6022c7 /pkg/gui/branches_panel.go | |
parent | 384c2e13d7f215aef7c9307f6214c4a1740b9f10 (diff) |
clean up signature
Diffstat (limited to 'pkg/gui/branches_panel.go')
-rw-r--r-- | pkg/gui/branches_panel.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pkg/gui/branches_panel.go b/pkg/gui/branches_panel.go index 6efb52264..996d3c7b2 100644 --- a/pkg/gui/branches_panel.go +++ b/pkg/gui/branches_panel.go @@ -358,7 +358,7 @@ func (gui *Gui) handleFastForward(g *gocui.Gui, v *gocui.View) error { if err := gui.GitCommand.FastForward(branch.Name, remoteName, remoteBranchName); err != nil { _ = gui.createErrorPanel(gui.g, err.Error()) } - _ = gui.refreshCommits(gui.g) + _ = gui.refreshCommits() } _ = gui.closeConfirmationPrompt(gui.g, true) @@ -465,7 +465,7 @@ func (gui *Gui) handleRenameBranch(g *gocui.Gui, v *gocui.View) error { return gui.createErrorPanel(gui.g, err.Error()) } - return gui.refreshCommits(gui.g) + return gui.refreshCommits() }) } |