git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] doc: correct the 50 characters soft limit (+)
@ 2023-10-08 14:10 謝致邦 (XIE Zhibang) via GitGitGadget
  2023-10-08 14:37 ` Kristoffer Haugsbakk
  2023-10-08 15:19 ` [PATCH v2] " 謝致邦 (XIE Zhibang) via GitGitGadget
  0 siblings, 2 replies; 3+ messages in thread
From: 謝致邦 (XIE Zhibang) via GitGitGadget @ 2023-10-08 14:10 UTC (permalink / raw)
  To: git
  Cc: 謝致邦 (XIE Zhibang),
	谢致邦 (XIE Zhibang)

From: =?UTF-8?q?=E8=B0=A2=E8=87=B4=E9=82=A6=20=28XIE=20Zhibang=29?=
 <Yeking@Red54.com>

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".

This is an addition to commit c2c349a15c0430a2ef9f858d69d095a00693379c
("doc: correct the 50 characters soft limit").

Signed-off-by: 谢致邦 (XIE Zhibang) <Yeking@Red54.com>
---
    doc: correct the 50 characters soft limit (+)
    
    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".
    
    This is an addition to commit c2c349a15c0430a2ef9f858d69d095a00693379c
    ("doc: correct the 50 characters soft limit").

Published-As: https://github.com/gitgitgadget/git/releases/tag/pr-git-1585%2FRed54%2Fdoc-patch-v1
Fetch-It-Via: git fetch https://github.com/gitgitgadget/git pr-git-1585/Red54/doc-patch-v1
Pull-Request: https://github.com/git/git/pull/1585

 Documentation/gittutorial.txt | 8 ++++----
 Documentation/user-manual.txt | 2 +-
 po/README.md                  | 2 +-
 3 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/Documentation/gittutorial.txt b/Documentation/gittutorial.txt
index c7cadd8aaf1..47594087880 100644
--- a/Documentation/gittutorial.txt
+++ b/Documentation/gittutorial.txt
@@ -137,10 +137,10 @@ which will automatically notice any modified (but not new) files, add
 them to the index, and commit, all in one step.
 
 A note on commit messages: Though not required, it's a good idea to
-begin the commit message with a single short (less than 50 character)
-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
+begin the commit message 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.  For example, linkgit:git-format-patch[1] turns a
 commit into email, and it uses the title on the Subject line and the
 rest of the commit in the body.
diff --git a/Documentation/user-manual.txt b/Documentation/user-manual.txt
index 4281396093d..d8dbe6b56d4 100644
--- a/Documentation/user-manual.txt
+++ b/Documentation/user-manual.txt
@@ -1122,7 +1122,7 @@ choosing "Stage Hunk For Commit").
 === Creating good commit messages
 
 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
diff --git a/po/README.md b/po/README.md
index 3e4f897d935..ec08aa24add 100644
--- a/po/README.md
+++ b/po/README.md
@@ -412,7 +412,7 @@ There are some conventions that l10n contributors must follow:
 - Do not use non-ASCII characters in the subject of a commit.
 
 - The length of commit subject (first line of the commit log) should
-  be less than 50 characters, and the length of other lines of the
+  be no more than 50 characters, and the length of other lines of the
   commit log should be no more than 72 characters.
 
 - Add "Signed-off-by" trailer to your commit log, like other commits

base-commit: 3a06386e314565108ad56a9bdb8f7b80ac52fb69
-- 
gitgitgadget

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] doc: correct the 50 characters soft limit (+)
  2023-10-08 14:10 [PATCH] doc: correct the 50 characters soft limit (+) 謝致邦 (XIE Zhibang) via GitGitGadget
@ 2023-10-08 14:37 ` Kristoffer Haugsbakk
  2023-10-08 15:19 ` [PATCH v2] " 謝致邦 (XIE Zhibang) via GitGitGadget
  1 sibling, 0 replies; 3+ messages in thread
From: Kristoffer Haugsbakk @ 2023-10-08 14:37 UTC (permalink / raw)
  To: Josh Soref; +Cc: 謝致邦 (XIE Zhibang), git

Hi 謝致邦

On Sun, Oct 8, 2023, at 16:10, 謝致邦 (XIE Zhibang) via GitGitGadget wrote:
> This is an addition to commit c2c349a15c0430a2ef9f858d69d095a00693379c
> ("doc: correct the 50 characters soft limit").

I think the “reference” format is nice:

    c2c349a15c (doc: correct the 50 characters soft limit, 2023-09-28)

See `Documentation/SubmittingPatches` at `commit-reference`.

-- 
Kristoffer Haugsbakk

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [PATCH v2] doc: correct the 50 characters soft limit (+)
  2023-10-08 14:10 [PATCH] doc: correct the 50 characters soft limit (+) 謝致邦 (XIE Zhibang) via GitGitGadget
  2023-10-08 14:37 ` Kristoffer Haugsbakk
@ 2023-10-08 15:19 ` 謝致邦 (XIE Zhibang) via GitGitGadget
  1 sibling, 0 replies; 3+ messages in thread
From: 謝致邦 (XIE Zhibang) via GitGitGadget @ 2023-10-08 15:19 UTC (permalink / raw)
  To: git
  Cc: Kristoffer Haugsbakk, 謝致邦 (XIE Zhibang),
	谢致邦 (XIE Zhibang)

From: =?UTF-8?q?=E8=B0=A2=E8=87=B4=E9=82=A6=20=28XIE=20Zhibang=29?=
 <Yeking@Red54.com>

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".

This is an addition to commit c2c349a15c (doc: correct the 50 characters
soft limit, 2023-09-28).

Signed-off-by: 谢致邦 (XIE Zhibang) <Yeking@Red54.com>
---
    doc: correct the 50 characters soft limit (+)
    
    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".
    
    This is an addition to commit c2c349a15c (doc: correct the 50 characters
    soft limit, 2023-09-28).
    
    Change commit reference format, thank Kristoffer Haugsbakk.

Published-As: https://github.com/gitgitgadget/git/releases/tag/pr-git-1585%2FRed54%2Fdoc-patch-v2
Fetch-It-Via: git fetch https://github.com/gitgitgadget/git pr-git-1585/Red54/doc-patch-v2
Pull-Request: https://github.com/git/git/pull/1585

Range-diff vs v1:

 1:  5b750bdf471 ! 1:  1808fcc3727 doc: correct the 50 characters soft limit (+)
     @@ Commit message
          "no more than 50 characters" or "50 characters or less", but not
          "less than 50 character".
      
     -    This is an addition to commit c2c349a15c0430a2ef9f858d69d095a00693379c
     -    ("doc: correct the 50 characters soft limit").
     +    This is an addition to commit c2c349a15c (doc: correct the 50 characters
     +    soft limit, 2023-09-28).
      
          Signed-off-by: 谢致邦 (XIE Zhibang) <Yeking@Red54.com>
      


 Documentation/gittutorial.txt | 8 ++++----
 Documentation/user-manual.txt | 2 +-
 po/README.md                  | 2 +-
 3 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/Documentation/gittutorial.txt b/Documentation/gittutorial.txt
index c7cadd8aaf1..47594087880 100644
--- a/Documentation/gittutorial.txt
+++ b/Documentation/gittutorial.txt
@@ -137,10 +137,10 @@ which will automatically notice any modified (but not new) files, add
 them to the index, and commit, all in one step.
 
 A note on commit messages: Though not required, it's a good idea to
-begin the commit message with a single short (less than 50 character)
-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
+begin the commit message 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.  For example, linkgit:git-format-patch[1] turns a
 commit into email, and it uses the title on the Subject line and the
 rest of the commit in the body.
diff --git a/Documentation/user-manual.txt b/Documentation/user-manual.txt
index 4281396093d..d8dbe6b56d4 100644
--- a/Documentation/user-manual.txt
+++ b/Documentation/user-manual.txt
@@ -1122,7 +1122,7 @@ choosing "Stage Hunk For Commit").
 === Creating good commit messages
 
 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
diff --git a/po/README.md b/po/README.md
index 3e4f897d935..ec08aa24add 100644
--- a/po/README.md
+++ b/po/README.md
@@ -412,7 +412,7 @@ There are some conventions that l10n contributors must follow:
 - Do not use non-ASCII characters in the subject of a commit.
 
 - The length of commit subject (first line of the commit log) should
-  be less than 50 characters, and the length of other lines of the
+  be no more than 50 characters, and the length of other lines of the
   commit log should be no more than 72 characters.
 
 - Add "Signed-off-by" trailer to your commit log, like other commits

base-commit: 3a06386e314565108ad56a9bdb8f7b80ac52fb69
-- 
gitgitgadget

^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2023-10-08 15:19 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-10-08 14:10 [PATCH] doc: correct the 50 characters soft limit (+) 謝致邦 (XIE Zhibang) via GitGitGadget
2023-10-08 14:37 ` Kristoffer Haugsbakk
2023-10-08 15:19 ` [PATCH v2] " 謝致邦 (XIE Zhibang) via GitGitGadget

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).