git/list[1] front-page[2] threads[3] people[4] search[5] about
 

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;
#endif

Then everything downloads nice and fast. Does anyone have a guess why that would be?

Sean
Previous: Panagiotis IssarisNext: Sean
Message 3 of 19 in “Problem cloning packed-and-pruned http repository”
  1. Panagiotis IssarisOct 6, 2006
  2. Panagiotis IssarisOct 6, 2006
  3. SeanOct 6, 2006
  4. Add WEBDAV timeout to http-fetch.Sean, Oct 7, 2006
  5. Junio C HamanoOct 7, 2006
  6. Jakub NarebskiOct 7, 2006
  7. Johannes SchindelinOct 7, 2006
  8. Petr BaudisOct 7, 2006
  9. Petr BaudisOct 7, 2006
  10. Johannes SchindelinOct 7, 2006
  11. Junio C HamanoOct 8, 2006
  12. Johannes SchindelinOct 8, 2006
  13. SeanOct 8, 2006
  14. Junio C HamanoOct 8, 2006
  15. Panagiotis IssarisOct 11, 2006
  16. Johannes SchindelinOct 11, 2006
  17. Panagiotis IssarisOct 7, 2006
  18. Junio C HamanoOct 7, 2006
  19. Panagiotis IssarisOct 7, 2006

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.