# HG changeset patch # User Augie Fackler # Date 1431963393 14400 # Node ID 85fc79707cb297f80c243a62ec70a011a41aff42 # Parent 99d01d288c3734ab1f7bb15e0428b2e55530cd1d check-commit: print limit when user has a too-long summary diff -r 99d01d288c37 -r 85fc79707cb2 contrib/check-commit --- a/contrib/check-commit Fri May 15 20:04:24 2015 +0800 +++ b/contrib/check-commit Mon May 18 11:36:33 2015 -0400 @@ -27,7 +27,7 @@ (r"^# .*\n[A-Z][a-z]\S+", "don't capitalize summary lines"), (r"^# .*\n[^\n]*: *[A-Z][a-z]\S+", "don't capitalize summary lines"), (r"^# .*\n.*\.\s+$", "don't add trailing period on summary line"), - (r"^# .*\n.{78,}", "summary line too long"), + (r"^# .*\n.{78,}", "summary line too long (limit is 78)"), (r"^\+\n \n", "adds double empty line"), (r"\+\s+def [a-z]+_[a-z]", "adds a function with foo_bar naming"), ]