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

Re: [PATCH] git-clone doc: fix indentation

From
Junio C Hamano <gitster@pobox.com>
Date
Mar 10, 2025, 16:55 UTC
Message-ID
<xmqq8qpc9668.fsf@gitster.g>
In-Reply-To
<20250310110758.601206-1-martin.agren@gmail.com>
Martin Ågren <martin.agren@gmail.com> writes:
Show 32 quoted lines
> Commit bc26f7690a (clone: make it possible to specify --tags,
> 2025-02-06) added a new paragraph in the middle of this list item. By
> adding an empty line rather than using a list continuation, we broke the
> list continuation, with the new paragraph ending up funnily indented.
>
> Restore the chain of list continuations.
>
> Signed-off-by: Martin Ågren <martin.agren@gmail.com>
> ---
>  Based immediately on top of bc26f7690a. Could equally well be queued
>  onto some later point, modifying git-clone.adoc instead of .txt. 
>
>  Documentation/git-clone.txt | 6 +++---
>  1 file changed, 3 insertions(+), 3 deletions(-)
>
> diff --git a/Documentation/git-clone.txt b/Documentation/git-clone.txt
> index 8d0476f6dc..ebfb608885 100644
> --- a/Documentation/git-clone.txt
> +++ b/Documentation/git-clone.txt
> @@ -279,9 +279,9 @@ corresponding `--mirror` and `--no-tags` options instead.
>  	`remote.<remote>.tagOpt=--no-tags` configuration. This ensures that
>  	future `git pull` and `git fetch` won't follow any tags. Subsequent
>  	explicit tag fetches will still work (see linkgit:git-fetch[1]).
> -
> -	By default, tags are cloned and passing `--tags` is thus typically a
> -	no-op, unless it cancels out a previous `--no-tags`.
> ++
> +By default, tags are cloned and passing `--tags` is thus typically a
> +no-op, unless it cancels out a previous `--no-tags`.
>  +
>  Can be used in conjunction with `--single-branch` to clone and
>  maintain a branch with no references other than a single cloned
Thanks.
Previous: Martin Ågren
Message 2 of 2 in “git-clone doc: fix indentation”
  1. git-clone doc: fix indentationMartin Ågren, Mar 10, 2025
  2. Junio C HamanoMar 10, 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.