summaryrefslogtreecommitdiffstats
path: root/main.go
diff options
context:
space:
mode:
authorJakob Kogler <jakob.kogler@gmail.com>2021-12-05 22:33:26 +0100
committerJesse Duffield <jessedduffield@gmail.com>2022-01-07 11:01:42 +1100
commitf981255a5b1c59afd065569dc8ea7e9993401955 (patch)
tree0b0ca963b73118db8b058b365d1a4578c446df47 /main.go
parentbeedc2553d7b17ca8ac2827965980a2a6bd9fafb (diff)
don't ignore error when commit with subprocess fails
If signing by GPG is enabled, the git commit command will be executed in a subprocess, differently from when it is executed without GPG signing. In case of an error, e.g. a failing pre-commit hook, the error needs to be passed along, and not just ignored.
Diffstat (limited to 'main.go')
0 files changed, 0 insertions, 0 deletions