From: Jakub Narebski Date: Sat, 16 Dec 2006 01:34:29 GMT Subject: Re: [RFC] Submodules in GIT Message-ID: In-Reply-To: Torgil Svensson wrote: > On 12/16/06, Torgil Svensson wrote: >> >> example tree object: >> >> 100644 blob README >> 100644 blob REPORTING-BUGS >> 100644 link >> 040000 tree arch >> 040000 tree block >> 040000 link >> > > Sorry, I was sloppy and forgot the names: > > 100644 blob README > 100644 blob REPORTING-BUGS > 100644 link AUTHORS > 040000 tree arch > 040000 tree block > 040000 link misc > > Now it doesn't looks like trees/blobs anymore so maybe a link object > is handy: > > 100644 blob README > 100644 blob REPORTING-BUGS > 100644 link AUTHORS > 040000 tree arch > 040000 tree block > 040000 link misc > > link-object: > > What do you need for in link-object? Wouldn't you use usually the sha1 of top tree of a commit, which is uniquely defined by commit object, so you need only ? -- Jakub Narebski Warsaw, Poland ShadeHawk on #git