mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-26 20:08:55 +00: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:
commit
4f1056ad72
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Add table
Reference in a new issue