pre-commit hook can't be used to fix spelling errors
muster-mark opened this issue · 2 comments
muster-mark commented
On githooks.com it says.
pre-commit: Check the commit message for spelling errors.
In the git documentation it says:
The pre-commit hook is run first, before you even type in a commit message.
which I can confirm is indeed the case, so the pre-commit hook can't be used to check the commit message for spelling errors.
github-actions commented
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you or your contributions.
muster-mark commented
Commenting to keep open. That sentence is still present on githooks.com.