Re: RFC: git cat-file --follow-symlinks?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxx

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




[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]