summaryrefslogtreecommitdiffstats
path: root/scripts/commitcheck.sh
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/commitcheck.sh')
-rwxr-xr-xscripts/commitcheck.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/scripts/commitcheck.sh b/scripts/commitcheck.sh
index f377bb912..2954b0fd7 100755
--- a/scripts/commitcheck.sh
+++ b/scripts/commitcheck.sh
@@ -69,10 +69,10 @@ function new_change_commit()
{
error=0
- # subject is not longer than 50 characters
- long_subject=$(git log -n 1 --pretty=%s "$REF" | grep -E -m 1 '.{51}')
+ # subject is not longer than 72 characters
+ long_subject=$(git log -n 1 --pretty=%s "$REF" | grep -E -m 1 '.{73}')
if [ -n "$long_subject" ]; then
- echo "error: commit subject over 50 characters"
+ echo "error: commit subject over 72 characters"
error=1
fi