diff options
author | Jesse Duffield <jessedduffield@gmail.com> | 2018-08-11 19:28:32 +1000 |
---|---|---|
committer | Jesse Duffield <jessedduffield@gmail.com> | 2018-08-11 19:28:32 +1000 |
commit | 8f6329c402eb7368c63453e8f2593074394bf223 (patch) | |
tree | 9b5e1d48e60cf273b1476a38b21b85e4d71f4557 | |
parent | 471a7de4181a01eb53161bdcf1219b73f4250b8f (diff) |
if you are using gpgsign, must use git editor to commit
-rw-r--r-- | gitcommands.go | 2 |
1 files changed, 1 insertions, 1 deletions
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() |