From: Junio C Hamano Date: Tue, 14 Jul 2009 19:43:10 GMT Subject: Re: [PATCH] Improve on the 'invalid object' error message at commit time Message-ID: <7vab37giep.fsf@alter.siamese.dyndns.org> In-Reply-To: Linus Torvalds writes: > ... one thing that I > started wondering about was whether the problem Florian saw was about one > of the files he had done "git add" on, or whether it was a tree entry that > was the result of "find_subtree()". Same here. Historically, cache-tree had issues that same corner case codepaths forgot invalidating subtrees when they should that could have led to kinds of bugs that are hard to diagnose. I think the API got harder to make that kind of mistakes while we squashed those bugs, though.