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

Re: [PATCH] Fix formatting in git-config(1)

From
Junio C Hamano <gitster@pobox.com>
Date
Jun 22, 2012, 23:52 UTC
Message-ID
<7v62ainbub.fsf@alter.siamese.dyndns.org>
In-Reply-To
<7v4nq5twwg.fsf@alter.siamese.dyndns.org>
Junio C Hamano <gitster@pobox.com> writes:
Show 32 quoted lines
> Andreas Schwab <schwab@linux-m68k.org> writes:
>
>> Remove the open block markers from the status.showUntrackedFiles entry
>> as they cause all remaining entries to be indented one level too much.
>
> Hrm...
>
> I looked at http://git-htmldocs.googlecode.com/git/git-config.html
> and am unsure what "one level too much" you are referring to.  Also
> looking at the output from
>
> $ git config --help
>
> I see (RHS end truncated to avoid line wrapping in MUA):
>
>     status.showUntrackedFiles
>         By default, git-status(1) and git-commit(1) show files whi
>         tracked by Git. Directories which contain only untracked f
>         the directory name only. Showing untracked files means tha
>         lstat() all all the files in the whole repository, which m
>         systems. So, this variable controls how the commands displ
>         files. Possible values are:
>
>         ·    no - Show no untracked files.
>
>         ·    normal - Show untracked files and directories.
>
>         ·    all - Show also individual files in untracked directo
>
>         If this variable is not specified, it defaults to normal. 
>         overridden with the -u|--untracked-files option of git-sta
>         commit(1).

Worse yet, with AsciiDoc 8.5.2, here is what I see with your patch (again, RHS end truncated to avoid line wrapping in MUA):

    status.showUntrackedFiles
            By default, git-status(1) and git-commit(1) show files w
            Directories which contain only untracked files, are show
            Showing untracked files means that Git needs to lstat() 
            repository, which might be slow on some systems. So, thi
            displays the untracked files. Possible values are:
               * no - Show no untracked files.
               * normal - Show untracked files and directories.
               * all - Show also individual files in untracked direc
                 If this variable is not specified, it defaults to n
                 with the -u|--untracked-files option of git-status(
So...
Previous: Andreas SchwabNext: Andreas Schwab
Message 4 of 9 in “Fix formatting in git-config(1)”
  1. Fix formatting in git-config(1)Andreas Schwab, Jun 20, 2012
  2. Junio C HamanoJun 20, 2012
  3. Andreas SchwabJun 20, 2012
  4. Junio C HamanoJun 22, 2012
  5. Andreas SchwabJun 23, 2012
  6. Junio C HamanoJun 23, 2012
  7. Andreas SchwabJun 23, 2012
  8. Andreas SchwabJun 23, 2012
  9. Junio C HamanoJun 23, 2012

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.