From: Chris Mason Date: Thu, 12 May 2005 14:27:00 GMT Subject: Re: [PATCH] improved delta support for git Message-ID: <200505121027.01964.mason@suse.com> In-Reply-To: <7voebhkql5.fsf@assigned-by-dhcp.cox.net> On Thursday 12 May 2005 00:36, Junio C Hamano wrote: > It appears to me that changes to the make_sure_we_have_it() > routine along the following lines (completely untested) would > suffice. Instead of just returning success, we first fetch the > named object from the remote side, read it to see if it is > really the object we have asked, or just a delta, and if it is a > delta call itself again on the underlying object that delta > object depends upon. If we fetch the named object and it is a delta, the delta will either depend on an object we already have or an object that we don't have. If we don't have it, the pull should find it while pulling other commits we don't have. -chris