Re: Commit-ish shortcut for immediate parent range

From: Andy Parkins <andyparkins@gmail.com>
Date: 2006-10-23 06:17:45
On Sunday 2006, October 22 18:25, Linus Torvalds wrote:

> Umm. That's not actually a very sensible operation. It's only sensible in
> the special case of "diff", and for that special case, what we do is to
> actually just say that the _command_ is special, not the range.
>
> It's called "git show".

You're entirely correct, that that is what I was looking for in that 
particular case.  However, the reason I raised it as a question was that I 
was poking around with git (which I'm enjoying immensely by the way - it 
really is as perfect an SCM as I have ever used) and in short succession did

git-diff X^..X
git-log X^..X
git-format-patch X^..X

I imagined that I would eventually stumble on other git commands where I would 
want to do this operation again.  I'm sure I will have picked an incorrect 
command in each case, however, they all did exactly what I wanted so I 
stopped looking for the "right" command :-)


Andy

-- 
Dr Andrew Parkins, M Eng (Hons), AMIEE
andyparkins@gmail.com

-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Received on Mon Oct 23 06:20:31 2006

This archive was generated by hypermail 2.1.8 : 2006-10-23 06:21:23 EST