Git Hooks: add an option to deny a push if a commit introduces whitespace errors
As a project owner/maintainer I want to be sure that no whitespace error (listed by git log --check) can be added into a project history.
A good way to do that would be to add an option in git hooks to deny a push if a commit introduces whitespace errors: that is for each commit, git show commit_ref --check
return 0.
Edited by 🤖 GitLab Bot 🤖