From: Junio C Hamano Date: Sat, 17 Sep 2005 08:32:06 GMT Subject: Re: [PATCH] Fix fetch completeness assumptions Message-ID: <7vacicccxl.fsf@assigned-by-dhcp.cox.net> In-Reply-To: <7vhdckceas.fsf@assigned-by-dhcp.cox.net> Junio C Hamano writes: > Daniel Barkalow writes: > >> Don't assume that any commit we have is complete; assume that any ref >> we have is complete. > > Have you tested this idea with cloning into an empty repository? > It seems to break my tests. Sorry, I spoke too fast. This is not _broken_ per se, but is just slow. I tried to clone http://kernel.org/pub/scm/git.git/; bulk of the objects are packed there but the new code is _too_ cautious, since it did not have any refs to begin with, it ended up walking the commits in the already downloaded packs to the root.