]> git.ipfire.org Git - thirdparty/git.git/commitdiff
doc: correct the 50 characters soft limit
author谢致邦 (XIE Zhibang) <Yeking@Red54.com>
Thu, 28 Sep 2023 09:59:15 +0000 (09:59 +0000)
committerJunio C Hamano <gitster@pobox.com>
Thu, 28 Sep 2023 17:49:23 +0000 (10:49 -0700)
The soft limit of the first line of the commit message should be
"no more than 50 characters" or "50 characters or less", but not
"less than 50 character".

Signed-off-by: 谢致邦 (XIE Zhibang) <Yeking@Red54.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/git-commit.txt

index 225c6c9f2e5f8f513e1e56ae77bc45d8c2097da4..a6cef5d82038771c5f7e91f788f14de6394de158 100644 (file)
@@ -541,7 +541,7 @@ DISCUSSION
 ----------
 
 Though not required, it's a good idea to begin the commit message
-with a single short (less than 50 character) line summarizing the
+with a single short (no more than 50 characters) line summarizing the
 change, followed by a blank line and then a more thorough description.
 The text up to the first blank line in a commit message is treated
 as the commit title, and that title is used throughout Git.