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

Re: [PATCH] Document the -p option for git-show.

From
David Kastrup <dak@gnu.org>
Date
Aug 21, 2007, 15:02 UTC
Message-ID
<867inpexsm.fsf@lola.quinscape.zz>
In-Reply-To
<46CAE41C.4614FDF4@eudaptics.com>
Johannes Sixt <J.Sixt@eudaptics.com> writes:
Show 13 quoted lines
> Miklos Vajna wrote:
>> +-p::
>> +       For commits, show the change the commit introduces in a patch form.
>
> This is already documented by referencing git-diff-tree a few lines
> above:
>
> 	The command takes options applicable to the git-diff-tree[1]
> 	command to control how the changes the commit introduces are
> 	shown.
>
> The man page of git-diff-tree talks about -p, and a lot more
> options.

I am not really convinced this is a good idea: at the current point of time, man-pages are not pulled into they user manual or any other complete reference tome. So they are basically standalone. Even if they weren't, I think it does not make all too much sense for a porcelain command to point to the documentation of a plumbing command for much of its functionality.

-- 
David Kastrup
Previous: VMiklosNext: Robin Rosenberg
Message 7 of 11 in “Getting a file revision”
  1. Bahadir BalbanAug 19, 2007
  2. Junio C HamanoAug 19, 2007
  3. Jerome LovyAug 20, 2007
  4. Document the -p option for git-show.Miklos Vajna, Aug 21, 2007
  5. Johannes SixtAug 21, 2007
  6. VMiklosAug 21, 2007
  7. David KastrupAug 21, 2007
  8. Robin RosenbergAug 21, 2007
  9. Junio C HamanoAug 21, 2007
  10. Robin RosenbergAug 21, 2007
  11. J. Bruce FieldsAug 19, 2007

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.