summaryrefslogtreecommitdiffstats
path: root/pkg/gui/commit_message_panel.go
diff options
context:
space:
mode:
authorAnthony HAMON <hamon.anth@gmail.com>2018-09-10 22:01:52 +0200
committerAnthony HAMON <hamon.anth@gmail.com>2018-09-11 21:56:17 +0200
commitd23577168f46f249e2af629ed23f15ddfd2cef6a (patch)
tree61c43d6b302e119410feeac70d307591769608fd /pkg/gui/commit_message_panel.go
parent5c204b28136d3f13baec64868e20a19685253fbb (diff)
commands/git : remove dependency on gocui
Diffstat (limited to 'pkg/gui/commit_message_panel.go')
-rw-r--r--pkg/gui/commit_message_panel.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/gui/commit_message_panel.go b/pkg/gui/commit_message_panel.go
index 99d649102..e23c47da0 100644
--- a/pkg/gui/commit_message_panel.go
+++ b/pkg/gui/commit_message_panel.go
@@ -12,7 +12,7 @@ func (gui *Gui) handleCommitConfirm(g *gocui.Gui, v *gocui.View) error {
if message == "" {
return gui.createErrorPanel(g, gui.Tr.SLocalize("CommitWithoutMessageErr"))
}
- sub, err := gui.GitCommand.Commit(g, message)
+ sub, err := gui.GitCommand.Commit(message)
if err != nil {
// TODO need to find a way to send through this error
if err != gui.Errors.ErrSubProcess {