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

Re: Linux 2.6.15-rc2

From
Andreas Ericsson <ae@op5.se>
Date
Nov 25, 2005, 08:42 UTC
Message-ID
<4386CE68.1020200@op5.se>
In-Reply-To
<200511242151.00162.tomlins@cam.org>
Ed Tomlinson wrote:
Show 23 quoted lines
> On Thursday 24 November 2005 14:52, Nick Hengeveld wrote:
> 
>>On Thu, Nov 24, 2005 at 10:37:15AM -0800, Linus Torvalds wrote:
>>
>>
>>>I just repacked and updated it now, so how http should work too, although 
>>>inefficiently (because it will get a whole new pack - just one of the 
>>>disadvantages of the non-native protocols).
>>
>>There's room to improve on that particular inefficiency.  The http
>>commit walker could use Range: headers to fetch loose objects directly
>>from inside a pack if it didn't make sense to fetch the entire pack.
>>For this to work, pack fetches would need to be deferred until the
>>entire tree had been walked, and the commit walker could decide whether
>>to fetch the pack or loose objects based on the percentage of packed
>>objects it needed to fetch.  It would also need to fetch all
>>tag/commit/tree objects using ranges to be able to fully walk the tree.
> 
> 
> Alternately, when creating a new archive the client could ask the server
> what protocols are active.  It could then use the best one for the clone and
> update the .git/origin files with the optimal one for incremental pulls.
> 

This would only work with the git protocol, and since that's the fastest protocol (theoretically that is, Pasky seems to have gotten other figures but I'm not sure I believe those) it should really only ever return itself which wouldn't make much sense.

-- 
Andreas Ericsson                   andreas.ericsson@op5.se
OP5 AB                             www.op5.se
Tel: +46 8-230225                  Fax: +46 8-230231
Previous: Ed Tomlinson
Message 10 of 10 in “Re: Linux 2.6.15-rc2”
  1. Ed TomlinsonNov 24, 2005
  2. Andreas EricssonNov 24, 2005
  3. Linus TorvaldsNov 24, 2005
  4. Junio C HamanoNov 24, 2005
  5. Linus TorvaldsNov 24, 2005
  6. Junio C HamanoNov 24, 2005
  7. Linus TorvaldsNov 24, 2005
  8. Nick HengeveldNov 24, 2005
  9. Ed TomlinsonNov 25, 2005
  10. Andreas EricssonNov 25, 2005

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.