From: Štěpán Němec Date: Thu, 04 Nov 2010 21:51:55 GMT Subject: Re: [PATCH] docs: clarify git diff modes of operation Message-ID: <871v70hi4k.fsf@gmail.com> In-Reply-To: <20101104211729.GA5551@sigill.intra.peff.net> Jeff King writes: > Note that in all versions (the original, yours, and mine) we gloss over > the fact that can actually be any two objects (as long as they > are bother either tree-ishs or blobs). Yeah, I thought about that, too. I think it would be nice to use more precise placeholders like or (which do already occur in other places), but I suspect it might be needed/useful at more places and would better be done as a separate patch (preferably by someone who is more familiar with the internals than me). > I'm not sure if it is worth documenting that subtlety here (at least > the tree-ish thing gets mentioned later in the description; I'm not > sure we ever document "git diff HEAD:Makefile HEAD^:Makefile" > anywhere). There's gitrevisions(7) (also pointed to from the git-diff manpage) which describes those in some detail. Štěpán