mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-22 09:19:03 +00:00
Meta: Allow overlong 'fixup!' commit titles in pre-commit hook
This commit is contained in:
committed by
Brian Gianforcaro
parent
5217202737
commit
7ba7668fbb
@@ -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}
|
||||
|
||||
Reference in New Issue
Block a user