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

Re: [PATCH] Fix indentation problem in git-ls-files(1)

From
Andreas Schwab <schwab@linux-m68k.org>
Date
Mar 19, 2010, 18:55 UTC
Message-ID
<m2k4t8qgyh.fsf@igel.home>
In-Reply-To
<4BA07AEE.2080100@viscovery.net>
Johannes Sixt <j.sixt@viscovery.net> writes:
Show 27 quoted lines
> Andreas Schwab schrieb:
>> Johannes Sixt <j.sixt@viscovery.net> writes:
>> 
>>> Andreas Schwab schrieb:
>>>> The nested list in the description of the -t option wasn't properly
>>>> indented.  Additionally, make it a horizontal labeled list since the
>>>> labels are all short.
>>> IMHO, converting a vertical list to a horizontal list is a step in the
>>> wrong direction, even if the labels are short. It is far easier to scan a
>>> vertical list for a match than a horizontal list.
>> 
>> The linebreak after the label is useless when all labels are much
>> shorter than the indentation.
>
> I use Junio's man pages, and they look like so:
>
>        -t
>            Identify the file status with the following tags
>            (followed by a space) at the start of each line:
>
>            H   cached
>            S   skip-worktree
>            M   unmerged
>            R   removed/deleted
>            C   modified/changed
>            K   to be killed
>            ?   other
That's not what I see.
       -t
           Identify the file status with the following tags (followed by a
           space) at the start of each line:
           H
               cached
           S
               skip-worktree
           M
               unmerged
           R
               removed/deleted
           C
               modified/changed
           K
               to be killed
           ?
               other
Andreas.
-- 
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."
Previous: Johannes SixtNext: Junio C Hamano
Message 11 of 12 in “Fix indentation problem in git-ls-files(1)”
  1. Fix indentation problem in git-ls-files(1)Andreas Schwab, Mar 4, 2010
  2. Junio C HamanoMar 4, 2010
  3. Andreas SchwabMar 5, 2010
  4. Mark LodatoMar 7, 2010
  5. Junio C HamanoMar 7, 2010
  6. Andreas SchwabMar 15, 2010
  7. Junio C HamanoMar 15, 2010
  8. Johannes SixtMar 16, 2010
  9. Andreas SchwabMar 16, 2010
  10. Johannes SixtMar 17, 2010
  11. Andreas SchwabMar 19, 2010
  12. Junio C HamanoMar 20, 2010

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.