Closed erquhart closed 8 years ago
I definitely think this would be handy. I believe it's already supported with helpMessage
. Let me know if that doesn't work for some reason.
Sorry, clicked the wrong button. Please close if this resolves the issue!
Yep, you're right, if the placeholder in helpMessage provides all content from multiple line commit messages, then we're good.
@kentcdodds nope, looks like that placeholder only prints the first line of the commit message.
Sad day. Well, feel free to makeapullrequest.com. Let me know if you need any direction.
Nice work @Emmurillo! Closing.
If a developer takes time to write a solid, multiple line commit message, and the message fails the hook, they may lose the message entirely depending on how it was created.
To address this, I propose adding an option (or just changing the default behavior, sans option) to print the entire commit message on failure.
Thoughts?