diff options
author | Ben Wiederhake <BenWiederhake.GitHub@gmx.de> | 2021-11-28 19:59:23 +0100 |
---|---|---|
committer | Brian Gianforcaro <b.gianfo@gmail.com> | 2021-11-28 11:49:13 -0800 |
commit | 7ba7668fbb05a455ebe4182c9bf90ff45eac0e04 (patch) | |
tree | 02d1b5de5b0c3009c166129a14c7e22e9385335b /Meta/lint-commit.sh | |
parent | 52172027376886f05e28fab412fbe3c0c9ea6d41 (diff) | |
download | serenity-7ba7668fbb05a455ebe4182c9bf90ff45eac0e04.zip |
Meta: Allow overlong 'fixup!' commit titles in pre-commit hook
Diffstat (limited to 'Meta/lint-commit.sh')
-rwxr-xr-x | Meta/lint-commit.sh | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Meta/lint-commit.sh b/Meta/lint-commit.sh index b30dd9bcd0..293220da7a 100755 --- a/Meta/lint-commit.sh +++ b/Meta/lint-commit.sh @@ -24,6 +24,8 @@ while read -r line; do # ignore comment lines [[ "$line" =~ ^#.* ]] && continue + # ignore overlong 'fixup!' commit descriptions + [[ "$line" =~ ^fixup!\ .* ]] && continue ((line_number += 1)) line_length=${#line} |