From: Linus Torvalds Date: Sun, 22 Oct 2006 18:25:13 GMT Subject: Re: Commit-ish shortcut for immediate parent range Message-ID: In-Reply-To: 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