From 7ba7668fbb05a455ebe4182c9bf90ff45eac0e04 Mon Sep 17 00:00:00 2001 From: Ben Wiederhake Date: Sun, 28 Nov 2021 19:59:23 +0100 Subject: Meta: Allow overlong 'fixup!' commit titles in pre-commit hook --- Meta/lint-commit.sh | 2 ++ 1 file changed, 2 insertions(+) (limited to 'Meta/lint-commit.sh') 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} -- cgit v1.2.3