diff options
author | Joris Roovers <jroovers@cisco.com> | 2015-09-08 21:31:10 +0200 |
---|---|---|
committer | Joris Roovers <jroovers@cisco.com> | 2015-09-08 21:31:10 +0200 |
commit | 945e1a054fd9339c081c7c605f51e7eb92b106cb (patch) | |
tree | 4712344a57961d4835871a6243c8af298df93962 /examples | |
parent | 9e214028df79705d19610d1e23d25588befc6956 (diff) |
Added BodyFirstLineEmpty rule
Rule that asserts that the 2nd line of the commit message (first line of
the commit message body) is empty.
This is the first multiline rule, i.e. a rule that acts on multiple
lines at once (in this case, the rule just checks the first line of the
multiline body).
Diffstat (limited to 'examples')
-rw-r--r-- | examples/commit-message-2 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/commit-message-2 b/examples/commit-message-2 index bfc4ef6..3e9be79 100644 --- a/examples/commit-message-2 +++ b/examples/commit-message-2 @@ -1,3 +1,3 @@ This is the title of a commit message that is over 80 characters and contains hard tabs and trailing whitespace and the word wiping -The second line should typically be empty +This line should not contain text Lines typically need to have a max length, meaning that they can't exceed a preset number of characters, usually 80 or 120. |