check-commit: fix summary length regexp
authortimeless <timeless@mozdev.org>
Thu, 07 Jan 2016 03:58:40 +0000
changeset 27779 b2479d305c10
parent 27778 4d10600c3f08
child 27780 f47185f09533
check-commit: fix summary length regexp
contrib/check-commit
--- a/contrib/check-commit	Tue Jan 12 14:49:35 2016 -0800
+++ b/contrib/check-commit	Thu Jan 07 03:58:40 2016 +0000
@@ -29,7 +29,7 @@
     (r"^# [^\n]*\n\S*[^A-Za-z0-9-]\S*: ",
      "summary keyword should be most user-relevant one-word command or topic"),
     (r"^# .*\n.*\.\s+$", "don't add trailing period on summary line"),
-    (r"^# .*\n[^#].{77,}", "summary line too long (limit is 78)"),
+    (r"^# .*\n[^#].{78,}", "summary line too long (limit is 78)"),
     (r"^\+\n \n", "adds double empty line"),
     (r"^ \n\+\n", "adds double empty line"),
     (r"^\+[ \t]+def [a-z]+_[a-z]", "adds a function with foo_bar naming"),