mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-15 23:09:05 +00:00
Meta: Allow overlong 'fixup!' commit titles in pre-commit hook
This commit is contained in:
parent
5217202737
commit
7ba7668fbb
Notes:
sideshowbarker
2024-07-18 00:34:28 +09:00
Author: https://github.com/BenWiederhake
Commit: 7ba7668fbb
Pull-request: https://github.com/SerenityOS/serenity/pull/11119
Reviewed-by: https://github.com/bgianfo
2 changed files with 3 additions and 0 deletions
|
@ -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}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue