style: drop requirement to only use single lines between top-level objects
authorMartijn Pieters <mj@octobus.net>
Sun, 14 Oct 2018 15:40:16 +0200
changeset 40308 47084b5ffd80
parent 40307 43f0a37bd9ed
child 40309 1bd3e922de18
style: drop requirement to only use single lines between top-level objects Differential Revision: https://phab.mercurial-scm.org/D5105
contrib/check-commit
--- a/contrib/check-commit	Sun Oct 14 13:05:53 2018 -0400
+++ b/contrib/check-commit	Sun Oct 14 15:40:16 2018 +0200
@@ -39,8 +39,6 @@
      "summary keyword should be most user-relevant one-word command or topic"),
     (afterheader + r".*\.\s*\n", "don't add trailing period on summary line"),
     (afterheader + r".{79,}", "summary line too long (limit is 78)"),
-    (r"\n\+\n( |\+)\n", "adds double empty line"),
-    (r"\n \n\+\n", "adds double empty line"),
     # Forbid "_" in function name.
     #
     # We skip the check for cffi related functions. They use names mapping the