summaryrefslogtreecommitdiff
path: root/Meta/lint-commit.sh
diff options
context:
space:
mode:
authorBen Wiederhake <BenWiederhake.GitHub@gmx.de>2021-11-28 19:59:23 +0100
committerBrian Gianforcaro <b.gianfo@gmail.com>2021-11-28 11:49:13 -0800
commit7ba7668fbb05a455ebe4182c9bf90ff45eac0e04 (patch)
tree02d1b5de5b0c3009c166129a14c7e22e9385335b /Meta/lint-commit.sh
parent52172027376886f05e28fab412fbe3c0c9ea6d41 (diff)
downloadserenity-7ba7668fbb05a455ebe4182c9bf90ff45eac0e04.zip
Meta: Allow overlong 'fixup!' commit titles in pre-commit hook
Diffstat (limited to 'Meta/lint-commit.sh')
-rwxr-xr-xMeta/lint-commit.sh2
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}