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

Re: [PATCH] doc: sparse-checkout: Fix list markers

From
Patrick Steinhardt <ps@pks.im>
Date
May 28, 2025, 07:14 UTC
Message-ID
<aDa30OJmvcfp1_mM@pks.im>
In-Reply-To
<pull.1948.git.git.1745239300668.gitgitgadget@gmail.com>
On Mon, Apr 21, 2025 at 12:41:40PM +0000, oneee via GitGitGadget wrote:
> From: onee-only <kimww0306@gmail.com>
> 
> Changed the list markers from a mix of "(1)" and "(b)" to a
> consistent numeric format "(1)", "(2)" for clarity and consistency.

In Git we use imperative style for commit messages, as if requesting the code to change. So something like this for example:

  We use a mix of "(1)" and "(b)" to refer to different cases when
  explaining sparsity patterns. Adapt these markers to use the numeric
  format for both clarity and consistency.
> Signed-off-by: onee-only <kimww0306@gmail.com>

We typically prefer your full name instead of using nicknames here. So if you want to provide your full name, please do so.

Show 12 quoted lines
> diff --git a/Documentation/technical/sparse-checkout.adoc b/Documentation/technical/sparse-checkout.adoc
> index dc2e763bbec..8202172b70b 100644
> --- a/Documentation/technical/sparse-checkout.adoc
> +++ b/Documentation/technical/sparse-checkout.adoc
> @@ -66,7 +66,7 @@ sparsity patterns: patterns from $GIT_DIR/info/sparse-checkout used to
>  	reasons: (1) users in cone mode specify directories rather than
>  	patterns (their directories are transformed into patterns, but
>  	users may think you are talking about non-cone mode if you use the
> -	word "patterns"), and (b) the sparse specification might
> +	word "patterns"), and (2) the sparse specification might
>  	transiently differ in the working tree or index from the sparsity
>  	patterns (see "Sparse specification vs. sparsity patterns").
The change itself looks like an obvious improvement to me, thanks!
Patrick
Previous: Junio C HamanoNext: oneee via GitGitGadget
Message 9 of 11 in “doc: sparse-checkout: Fix list markers”
  1. doc: sparse-checkout: Fix list markersoneee via GitGitGadget, Apr 21, 2025
  2. Kristoffer HaugsbakkMay 28, 2025
  3. Eric SunshineMay 28, 2025
  4. Kristoffer HaugsbakkMay 28, 2025
  5. oneeeMay 30, 2025
  6. Eric SunshineMay 30, 2025
  7. oneeeMay 30, 2025
  8. Junio C HamanoMay 30, 2025
  9. Patrick SteinhardtMay 28, 2025
  10. doc: sparse-checkout: use consistent inline list styleoneee via GitGitGadget, May 30, 2025
  11. Kristoffer HaugsbakkMay 30, 2025

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.