Skip to content
This repository was archived by the owner on Apr 28, 2023. It is now read-only.

Commit ad718f9

Browse files
author
Sven Verdoolaege
committed
further restrict line size in commit messages
Tools like "git log" shift the commit messages by 4 characters, so to stay within a total of 80 characters, it is best to use no more than 76 characters in the commit messages themselves. In fact, it is common practice to only use up to 72 characters.
1 parent 3aac69f commit ad718f9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

CodingConventions.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -593,7 +593,7 @@ Each commit should have a proper commit message.
593593
A commit message consists of a one-line summary, followed by an empty line and
594594
the main body with more details focusing on the motivation of the change.
595595
Both the one-line summary and the lines in the main body
596-
should not exceed 80 characters.
596+
should not exceed 72 characters.
597597
The commit message should contain all the information that is needed
598598
to understand the change within the git repository.
599599
The main body can only be omitted if the motivation is completely obvious

0 commit comments

Comments
 (0)