git log does not show any output from prepare-commit-msg script #355
-
I would like to report an issue I stumbled upon, which I think is a bug: When using a bash script for a Maybe I am missing something, but since it works with a script for |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Hey! Yes, this is a bug. Initially it was a hack because lefthook uses To workaround this for now you can use set the |
Beta Was this translation helpful? Give feedback.
Hey! Yes, this is a bug. Initially it was a hack because lefthook uses
prepare-commit-msg
hook for auto synchronization, but we don't want to see the output of lefthook on every commit, so we suppressed the output. But if you manually specifyprepare-commit-msg
hook, there is no need to suppress the output I think. I'll put it on my radar.To workaround this for now you can use set the
LEFTHOOK_VERBOSE=true
when runninggit commit
orlefthook run ...