git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Linus Torvalds <torvalds@osdl.org>
To: Andy Parkins <andyparkins@gmail.com>
Cc: git@vger.kernel.org
Subject: Re: Commit-ish shortcut for immediate parent range
Date: Sun, 22 Oct 2006 11:25:13 -0700 (PDT)	[thread overview]
Message-ID: <Pine.LNX.4.64.0610221117570.3962@g5.osdl.org> (raw)
In-Reply-To: <Pine.LNX.4.64.0610221017180.3962@g5.osdl.org>



On Sun, 22 Oct 2006, Linus Torvalds wrote:
> 
> So the thing to do is just
> 
> 	git show 3435fdb4c
> 
> and be happy.

Btw, if you really _only_ want the diff, you can do either

	git-diff-tree -p 3435fdb4c

which is the traditional "core" command for this. Somewhat sadly, I don't 
think we have a way to actually turn _off_ the description printing, so 
while you can turn off the _diff_ with "-s", the best you can do wrt the 
commit message is probably to use "--pretty=oneline" to cut it down to a 
single line.

I wonder if we should have a "--pretty=none" thing, so that you can use 
the "higher-level" git commands without seeing the log message.

Hmm..

			Linus

  reply	other threads:[~2006-10-22 18:30 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-10-22 14:48 Commit-ish shortcut for immediate parent range Andy Parkins
2006-10-22 15:11 ` Jakub Narebski
2006-10-22 17:25 ` Linus Torvalds
2006-10-22 18:25   ` Linus Torvalds [this message]
2006-10-22 20:17   ` Andy Parkins
2006-10-22 20:56     ` Linus Torvalds
2006-10-22 21:41       ` Jakub Narebski
2006-10-22 22:09         ` Johannes Schindelin
2006-10-22 22:33           ` Jakub Narebski
2006-10-22 23:36             ` Junio C Hamano
2006-10-23  3:33         ` Linus Torvalds
2006-10-22 20:55   ` Johannes Schindelin
2006-10-22 19:53 ` Jeff King

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=Pine.LNX.4.64.0610221117570.3962@g5.osdl.org \
    --to=torvalds@osdl.org \
    --cc=andyparkins@gmail.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).