diff options
Diffstat (limited to 'pkg/gui/tags_panel.go')
-rw-r--r-- | pkg/gui/tags_panel.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pkg/gui/tags_panel.go b/pkg/gui/tags_panel.go index 0599525b0..78c3122cd 100644 --- a/pkg/gui/tags_panel.go +++ b/pkg/gui/tags_panel.go @@ -104,7 +104,7 @@ func (gui *Gui) handleDeleteTag(g *gocui.Gui, v *gocui.View) error { if err := gui.GitCommand.DeleteTag(tag.Name); err != nil { return gui.createErrorPanel(gui.g, err.Error()) } - if err := gui.refreshCommits(g); err != nil { + if err := gui.refreshCommits(); err != nil { return gui.createErrorPanel(g, err.Error()) } if err := gui.refreshTags(); err != nil { @@ -141,7 +141,7 @@ func (gui *Gui) handleCreateTag(g *gocui.Gui, v *gocui.View) error { if err := gui.GitCommand.CreateLightweightTag(v.Buffer(), ""); err != nil { return gui.createErrorPanel(gui.g, err.Error()) } - if err := gui.refreshCommits(g); err != nil { + if err := gui.refreshCommits(); err != nil { return gui.createErrorPanel(g, err.Error()) } if err := gui.refreshTags(); err != nil { |