Re: Problem cloning packed-and-pruned http repository
- From
Sean <seanlkml@sympatico.ca>
- Date
- Oct 6, 2006, 23:49 UTC
- Message-ID
- <BAYC1-PASMTP08A34A8FB0703E4D2ABAF9AE130@CEZ.ICE>
- In-Reply-To
- <20061006220542.GA5890@lumumba.uhasselt.be>
On Sat, 7 Oct 2006 00:05:42 +0200 takis@lumumba.uhasselt.be (Panagiotis Issaris) wrote:
> Apparently, it does work :-/ After a _long_ time I noticed that the > repository indeed got cloned... I am not sure if this is normal behavior > or not, it seemed to take a _really_ long. I would have thought > downloading 14MiB should not take a long time on my ADSL line.
It's not normal. There's something odd going on. I can clone your repo with wget in about two minutes, while Git still hadn't downloaded anything after 12 minutes when I killed it.
Poked around a bit, and found that if I comment out these lines from http-fetch.c:
#ifndef NO_EXPAT
if (remote_ls(repo, "objects/pack/", PROCESS_FILES,
process_ls_pack, NULL) == 0)
return 0;
#endifThen everything downloads nice and fast. Does anyone have a guess why that would be?
Sean