From: Michael Haggerty Date: Thu, 30 Apr 2015 08:12:04 GMT Subject: Re: RFC: git cat-file --follow-symlinks? Message-ID: <5541E3D4.7040207@alum.mit.edu> In-Reply-To: On 04/30/2015 07:34 AM, Junio C Hamano wrote: > [...] > But stepping back a bit. > > We have been talking about HEAD^{resolve}:fleem but how did we learn > that there is a path "fleem" in the tree of HEAD in the first place? > I would presume that the answer eventually boils down to "somebody > fed HEAD to 'ls-tree -r'", and then that somebody is an idiot if it > did not grab the mode bits to learn what kind of blob fleem is, or > if it did not tell the guy that wants to drive "cat-file --batch". I think a plausible use case for this feature is to read `$tag^{resolve}:RelNotes`, in which case the reason we know it's there is "because the maintainer told us it is there". Michael -- Michael Haggerty mhagger@alum.mit.edu