Re: [PATCH 3/3] git-add --intent-to-add (-N)
- From
Jonathan Nieder <jrnieder@uchicago.edu>
- Date
- Aug 22, 2008, 05:32 UTC
- Message-ID
- <Pine.GSO.4.62.0808220015190.11259@harper.uchicago.edu>
- In-Reply-To
- <alpine.LNX.1.00.0808220023170.19665@iabervon.org>
Daniel Barkalow wrote:
> On Thu, 21 Aug 2008, Jonathan Nieder wrote:
[...]
Show 11 quoted lines
> > $ 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