On Tue, 3 Apr 2007, Shawn O. Pearce wrote: > > Right. But maybe we shouldn't be scanning for packfiles every > time we don't find a loose object. Especially if the caller is in > a context where we actually *expect* to not find said object like > half of the time... say in git-add/update-index. ;-) Yes, we could definitely skip the re-lookup if we had a "don't really care, I can recreate the object myself" flag (ie anybody who is going to write that object) Linus - To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html