Mercurial > hg
changeset 27779:b2479d305c10
check-commit: fix summary length regexp
author | timeless <timeless@mozdev.org> |
---|---|
date | Thu, 07 Jan 2016 03:58:40 +0000 |
parents | 4d10600c3f08 |
children | f47185f09533 |
files | contrib/check-commit |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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"),