git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH] doc: correct the 50 characters soft limit

From
Junio C Hamano <gitster@pobox.com>
Date
Sep 28, 2023, 14:10 UTC
Message-ID
<xmqq7coal779.fsf@gitster.g>
In-Reply-To
<pull.1580.git.git.1695895155985.gitgitgadget@gmail.com>

"謝致邦 (XIE Zhibang) via GitGitGadget" <gitgitgadget@gmail.com> writes:

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

The limit being "soft", I highly doubt that anybody would wonder if a title that is exactly 50 columns wide is or is not acceptable.

The updated one is more grammatically correct than the original, so the patch is not without merit, though ;-)

Thanks.
Show 9 quoted lines
> ...
>  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.
>
> base-commit: bcb6cae2966cc407ca1afc77413b3ef11103c175
Previous: 謝致邦 (XIE Zhibang) via GitGitGadget
Message 2 of 2 in “doc: correct the 50 characters soft limit”
  1. doc: correct the 50 characters soft limit謝致邦 (XIE Zhibang) via GitGitGadget, Sep 28, 2023
  2. Junio C HamanoSep 28, 2023

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.