All of lore.kernel.org
 help / color / mirror / Atom feed
From: Johannes Sixt <J.Sixt@eudaptics.com>
To: git@vger.kernel.org
Subject: Re: [PATCH] Document the -p option for git-show.
Date: Tue, 21 Aug 2007 15:09:48 +0200	[thread overview]
Message-ID: <46CAE41C.4614FDF4@eudaptics.com> (raw)
In-Reply-To: 20070821124949.GH768@genesis.frugalware.org

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.

Side note: -p is the default for git-show (of commits). Nevertheless, it
makes sense to specify it in combination with other options:

	git show -p --stat

will show both the patch and the statistics.

-- Hannes

  reply	other threads:[~2007-08-21 13:09 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-08-19  0:42 Getting a file revision Bahadir Balban
2007-08-19  0:52 ` Junio C Hamano
2007-08-20 11:38   ` Jerome Lovy
2007-08-21 12:49     ` [PATCH] Document the -p option for git-show Miklos Vajna
2007-08-21 13:09       ` Johannes Sixt [this message]
2007-08-21 14:29         ` VMiklos
2007-08-21 15:02         ` David Kastrup
2007-08-21 17:01       ` Robin Rosenberg
2007-08-21 17:33         ` Junio C Hamano
2007-08-21 18:50           ` Robin Rosenberg
2007-08-19  0:52 ` Getting a file revision J. Bruce Fields

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=46CAE41C.4614FDF4@eudaptics.com \
    --to=j.sixt@eudaptics.com \
    --cc=git@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.