summaryrefslogtreecommitdiff
path: root/Meta/lint-commit.sh
AgeCommit message (Collapse)Author
2022-09-15Meta: Revise lint-commit.sh regex for the titleBen Wiederhake
This mainly changes two aspects: - The category can now be a single letter, such as 'w' to indicate the file Utilities/w.cpp - Spaces in the category (or list) are no longer allowed. This follows the lived practice of writing category lists as "Foo+Bar: Quux" Closes #15243.
2022-01-11CI: Require a blank line between commit titles and bodiesIdan Horowitz
2021-11-28Meta: Allow overlong 'fixup!' commit titles in pre-commit hookBen Wiederhake
2021-11-02Meta: Use grep -E/F, not grep -Pthislooksfun
grep -E and -F are POSIX standard, and meets all our matching needs.
2021-09-07CI+Meta: Add Signed-off-by tag filter to the commit message linterIdan Horowitz
2021-07-27Meta: Ignore everything after the git cut line in a lint-commit.sh hookKarol Kosek
I have set up a commit.verbose variable in my git config, which shows the patch diff on bottom of the commit message. Unfortunately the character limit was also applied to the diff, which meant that I got a false-positive lint error almost every time.
2021-07-27Meta: Bring lint-commit.sh up to date with the CI commit linterIdan Horowitz
This was missing 2 of the recently added checks. Also added a reminder in the CI linter to update the Meta (commit hook) version.
2021-07-13CI: Disallow spaces just before the separating colon in commit titlesIdan Horowitz
2021-05-16Meta: Add a check for periods on the end of titles to commit linterIdan Horowitz
2021-05-02Meta: Add a post-commit commit message linter hookIdan Horowitz
This should help with getting commit messages tidy before they pass through CI's commit linter :^) For this hook to work pre-commit has to be explicitly installed via: `pre-commit install --hook-type commit-msg`