Re: [PATCH] Fix fetch completeness assumptions
- From
Junio C Hamano <junkio@cox.net>
- Date
- Sep 17, 2005, 08:32 UTC
- Message-ID
- <7vacicccxl.fsf@assigned-by-dhcp.cox.net>
- In-Reply-To
- <7vhdckceas.fsf@assigned-by-dhcp.cox.net>
Junio C Hamano <junkio@cox.net> writes:
Show 7 quoted lines
> Daniel Barkalow <barkalow@iabervon.org> 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.