summaryrefslogtreecommitdiffstats
path: root/pkg/gui
diff options
context:
space:
mode:
authorJesse Duffield <jessedduffield@gmail.com>2018-09-12 18:47:57 +1000
committerGitHub <noreply@github.com>2018-09-12 18:47:57 +1000
commitb4b4cd83dd6221e0ef33e32f1e037729d8a27210 (patch)
tree125bcbfe36cd2181c1d17ef51aa37593818958ef /pkg/gui
parent31c33dfdcb4f8e27a8b50493876b17825c25c0ec (diff)
parent79940b7ba9047965cbe35f159eac3d133e229da7 (diff)
Merge branch 'master' into hotfix/cursor-positioning
Diffstat (limited to 'pkg/gui')
-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 {