From: Jonathan Nieder Date: Fri, 22 Aug 2008 05:32:01 GMT Subject: Re: [PATCH 3/3] git-add --intent-to-add (-N) Message-ID: In-Reply-To: Daniel Barkalow wrote: > On Thu, 21 Aug 2008, Jonathan Nieder wrote: [...] > > $ git add -N a > > $ git commit > > error: invalid object e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 > > error: Error building trees > > > > I think the first error comes from update_one, which creates a tree > > object from the index. It is complaining, because after all, that > > object is not in any sha1 file. > > I think [1/3] was supposed to make this not an issue, with that particular > object being implicitly in all objects databases. Wait, is [1/3] meant to create that strong of an illusion? That is, should has_sha1_file pretend the object is present, too? Jonathan