1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-31 22:10:45 +02:00

[ticket/10092] Ignore overlength comment lines in commit-msg hook.

PHPBB3-10092
This commit is contained in:
Oleg Pudeyev
2011-03-11 19:26:07 -05:00
parent aa8f4000d3
commit 7cf134c73d

View File

@@ -66,7 +66,7 @@ then
exit 0 exit 0
fi fi
msg=$(grep -nE '.{81,}' "$1"); msg=$(grep -v '^#' "$1" |grep -nE '.{81,}')
if [ $? -eq 0 ] if [ $? -eq 0 ]
then then