Re: How do get a specific version of a particular file?
- From
Johannes Schindelin <johannes.schindelin@gmx.de>
- Date
- Feb 28, 2007, 00:39 UTC
- Message-ID
- <Pine.LNX.4.63.0702280137460.22628@wbgn013.biozentrum.uni-wuerzburg.de>
- In-Reply-To
- <7vejob9l70.fsf@assigned-by-dhcp.cox.net>
Hi,
On Tue, 27 Feb 2007, Junio C Hamano wrote:
Show 16 quoted lines
> Linus Torvalds <torvalds@linux-foundation.org> writes: > > >> > OK, how is that different from git-diff ? > >> > >> I do not think there is any difference. "show" is about > >> multiple points, not ranges. "diff" is about multiple > >> (typically two) points, and not ranges. > > > > Well, I do think Ted has a good point. Having negative refs makes no sense > > for the "no-walk" case (aka "git show"). > > > > ... Negative object refs really don't make any sense unless you walk > > the object list (or you're "git diff" and know about ranges explicitly). > > If you did not say "(or you're..." part, then I would agree > to this 100%.
git diff does not set revs->no_walk, so the patch would not trigger for git-diff.
Ciao, Dscho