Thread (6 messages) flat view 6 messages, 4 authors, 2016-06-15

Re: [PATCH 3/3] git-add --intent-to-add (-N)

From: Jonathan Nieder <hidden>
Date: 2016-06-15 22:45:12

Possibly related (same subject, not in this thread)

Daniel Barkalow wrote:
On Thu, 21 Aug 2008, Jonathan Nieder wrote:
[...]
quoted
	$ 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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help