mirror of
https://github.com/phpbb/phpbb.git
synced 2025-01-17 22:28:46 +01:00
[ticket/10092] Ignore overlength comment lines in commit-msg hook.
PHPBB3-10092
This commit is contained in:
parent
aa8f4000d3
commit
7cf134c73d
@ -66,7 +66,7 @@ then
|
||||
exit 0
|
||||
fi
|
||||
|
||||
msg=$(grep -nE '.{81,}' "$1");
|
||||
msg=$(grep -v '^#' "$1" |grep -nE '.{81,}')
|
||||
|
||||
if [ $? -eq 0 ]
|
||||
then
|
||||
|
Loading…
x
Reference in New Issue
Block a user