mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-29 21:10:31 +02:00
Merge branch 'ticket/p/10092' into develop-olympus
* ticket/p/10092: [ticket/10092] Ignore overlength comment lines in commit-msg hook.
This commit is contained in:
@@ -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
|
||||||
|
Reference in New Issue
Block a user