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

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

From
Johannes Sixt <j.sixt@viscovery.net>
Date
Mar 17, 2010, 06:47 UTC
Message-ID
<4BA07AEE.2080100@viscovery.net>
In-Reply-To
<m2pr34kpzm.fsf@igel.home>
Andreas Schwab schrieb:
Show 12 quoted lines
> 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

and the HTML version at http://www.kernel.org/pub/software/scm/git/docs/git-ls-files.html looks OK as well. I see nothing that needs fixing in either case.

-- Hannes
Previous: Andreas SchwabNext: Andreas Schwab
Message 10 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.