Skip to content

git log does not show any output from prepare-commit-msg script #355

Answered by mrexox
JuliusHenke asked this question in Q&A
Discussion options

You must be logged in to vote

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 specify prepare-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 running git commit or lefthook run ...

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by JuliusHenke
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants