From 8f6329c402eb7368c63453e8f2593074394bf223 Mon Sep 17 00:00:00 2001 From: Jesse Duffield Date: Sat, 11 Aug 2018 19:28:32 +1000 Subject: [PATCH] if you are using gpgsign, must use git editor to commit --- gitcommands.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gitcommands.go b/gitcommands.go index dcd338136..14dee6dac 100644 --- a/gitcommands.go +++ b/gitcommands.go @@ -415,7 +415,7 @@ func removeFile(file GitFile) error { func gitCommit(g *gocui.Gui, message string) (string, error) { gpgsign, _ := gitconfig.Global("commit.gpgsign") if gpgsign != "" { - runSubProcess(g, "bash", "-c", "git commit -m \""+message+"\"") + runSubProcess(g, "git", "commit") return "", nil } userName, err := gitconfig.Username()