Sign in or sign up before continuing. Don't have an account yet? Register now to get started.
Register now

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 Sep 02, 2020 by 🤖 GitLab Bot 🤖
Assignee Loading
Time tracking Loading