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

Re: [PATCH] doc: tidy asciidoc style

From
Junio C Hamano <gitster@pobox.com>
Date
Jan 23, 2019, 19:36 UTC
Message-ID
<xmqqk1ivb1yp.fsf@gitster-ct.c.googlers.com>
In-Reply-To
<20190122201635.15961-1-jn.avila@free.fr>
Jean-Noël Avila <jn.avila@free.fr> writes:
Show 5 quoted lines
> This mainly refers to enforcing indentation on additional lines of
> items of lists.
>
> Signed-off-by: Jean-Noël Avila <jn.avila@free.fr>
> ---

I somehow misread the title as "tiny asciidoc style (fixes)". This is a huge clean-up. Thanks for working on it.

Show 10 quoted lines
> diff --git a/Documentation/git-add.txt b/Documentation/git-add.txt
> index 45652fe4a6..37bcab94d5 100644
> --- a/Documentation/git-add.txt
> +++ b/Documentation/git-add.txt
> @@ -58,9 +58,9 @@ OPTIONS
>  	specifying `dir` will record not just a file `dir/file1`
>  	modified in the working tree, a file `dir/file2` added to
>  	the working tree, but also a file `dir/file3` removed from
> -	the working tree.  Note that older versions of Git used
> +	the working tree). Note that older versions of Git used
Good.
> -	to add modified or new files but ignore removed	ones.
> +	to add modified or new files but ignore removed ones.

For those reading from sidelines, the difference here is that the original has HT between "removed" and "ones" ;-)

Two questions.
 - Does this affect correctness in formatting?  I thought not.
 - How are you finding these?  
Show 6 quoted lines
> @@ -206,7 +206,7 @@ EXAMPLES
>  --------
>  
>  * Adds content from all `*.txt` files under `Documentation` directory
> -and its subdirectories:
> +  and its subdirectories:

OK. Just to make sure (read: not an objection to the change), this does not affect the formatted result, right?

Previous: Jean-Noël AvilaNext: Junio C Hamano
Message 2 of 5 in “doc: tidy asciidoc style”
  1. doc: tidy asciidoc styleJean-Noël Avila, Jan 22, 2019
  2. Junio C HamanoJan 23, 2019
  3. Junio C HamanoJan 23, 2019
  4. Jean-Noël AVILAJan 23, 2019
  5. Junio C HamanoJan 23, 2019

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.