From: Sven Verdoolaege Date: Sat, 16 Dec 2006 23:14:22 GMT Subject: Re: Subprojects tasks Message-ID: <20061216231422.GE25274MdfPADPa@greensroom.kotnet.org> In-Reply-To: <20061216225810.GD12411@admingilde.org> On Sat, Dec 16, 2006 at 11:58:10PM +0100, Martin Waitz wrote: > On Sat, Dec 16, 2006 at 01:07:04PM -0800, Junio C Hamano wrote: > > Sven Verdoolaege writes: > > > On Sat, Dec 16, 2006 at 10:32:36AM -0800, Junio C Hamano wrote: > > >> I suspect the hardest part is "rev-list --objects" (now most of > > >> it is found in revision.c). [..] But I think the updated > > >> code needs to know that "link" needs to be unwrapped and > > >> contained "commit" needs to be injected back to the ancestry > > >> walking machinery. > > Well, I already got to the point of using the commit directly, > instead of any link object. I think Junio is simply refering to the type of the object as represented in a tree and that the value would indeed just be the commit hash, as in your implementation.