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

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

From
Robin Rosenberg <robin.rosenberg.lists@dewire.com>
Date
Aug 21, 2007, 17:01 UTC
Message-ID
<200708211901.55687.robin.rosenberg.lists@dewire.com>
In-Reply-To
<20070821124949.GH768@genesis.frugalware.org>
tisdag 21 augusti 2007 skrev Miklos Vajna:
Show 20 quoted lines
> Signed-off-by: Miklos Vajna <vmiklos@frugalware.org>
> ---
>  Documentation/git-show.txt |    4 ++++
>  1 files changed, 4 insertions(+), 0 deletions(-)
> 
> diff --git a/Documentation/git-show.txt b/Documentation/git-show.txt
> index a42e121..2409389 100644
> --- a/Documentation/git-show.txt
> +++ b/Documentation/git-show.txt
> @@ -33,6 +33,10 @@ This manual page describes only the most frequently used options.
>  
>  OPTIONS
>  -------
> +
> +-p::
> +	For commits, show the change the commit introduces in a patch form.
> +
>  <object>::
>  	The name of the object to show.
>  	For a more complete list of ways to spell object names, see
How about this instead:
-- robin
Include diff options into git-show command manual
--
 Documentation/git-show.txt |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/Documentation/git-show.txt b/Documentation/git-show.txt
index a42e121..d4708e0 100644
--- a/Documentation/git-show.txt
+++ b/Documentation/git-show.txt
@@ -41,6 +41,9 @@ OPTIONS
 include::pretty-options.txt[]
 
 
+include::diff-options.txt[]
+
+
 include::pretty-formats.txt[]
 
 
Previous: David KastrupNext: Junio C Hamano
Message 8 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.