From: Johannes Schindelin Date: Wed, 28 Feb 2007 00:39:17 GMT Subject: Re: How do get a specific version of a particular file? Message-ID: In-Reply-To: <7vejob9l70.fsf@assigned-by-dhcp.cox.net> Hi, On Tue, 27 Feb 2007, Junio C Hamano wrote: > Linus Torvalds 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