mirror of
https://github.com/jesseduffield/lazygit.git
synced 2026-09-12 08:36:25 -04:00
if you are using gpgsign, must use git editor to commit
This commit is contained in:
parent
471a7de418
commit
8f6329c402
|
|
@ -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()
|
||||
|
|
|
|||
Loading…
Reference in a new issue