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

Re: Recent and near future backward incompatibilities

From
Junio C Hamano <junkio@cox.net>
Date
Oct 15, 2006, 18:14 UTC
Message-ID
<7v64elzbtg.fsf@assigned-by-dhcp.cox.net>
In-Reply-To
<Pine.LNX.4.64.0610151133450.17085@xanadu.home>
Nicolas Pitre <nico@cam.org> writes:
Show 5 quoted lines
> Actually it doesn't have to be that expensive to convert deltas v2 to 
> deltas v3 on the fly.  They can be inflated, parsed, the copy ops that 
> exceed 0x10000 converted into multiple ops of smaller copy blocks, then 
> deflated.  This is certainly much less costly than rematching deltas 
> from scratch.
True, when I think about it.
Show 16 quoted lines
>>  - we need to add .git/config item that tells pack-objects to
>>    never generate version 3 delta for that particular
>>    repository.  This is similar to the way we would need to
>>    control the use of delta-base-offset representation currently
>>    cooking in "next".
>
> This is different. The delta-base-offset representation is decided at 
> run time every time a pack is generated and regardless if delta data is 
> being reused from another pack or regenerated afresh, and so with no 
> cost.  So this is no issue for users of old GIT versions since the 
> native GIT protocol already handle it in a backward compatible manner.
>
> The only issue here concerns users that don't use the native GIT 
> protocol.  But in this case they have two options: either they switch to 
> the native protocol, or they upgrade to the latest GIT version which 
> can always be pulled with the native GIT protocol.
True again.  Thanks.
Previous: Nicolas PitreNext: Theodore Tso
Message 19 of 22 in “Recent and near future backward incompatibilities”
  1. Junio C HamanoOct 15, 2006
  2. pack-objects: use of version 3 delta is now optional.Junio C Hamano, Oct 15, 2006
  3. Jakub NarebskiOct 15, 2006
  4. Nicolas PitreOct 15, 2006
  5. Junio C HamanoOct 15, 2006
  6. Jakub NarebskiOct 15, 2006
  7. Nicolas PitreOct 15, 2006
  8. Junio C HamanoOct 16, 2006
  9. Nicolas PitreOct 16, 2006
  10. Nicolas PitreOct 15, 2006
  11. A Large Angry SCMOct 15, 2006
  12. Nicolas PitreOct 16, 2006
  13. Linus TorvaldsOct 15, 2006
  14. Nicolas PitreOct 16, 2006
  15. Junio C HamanoOct 17, 2006
  16. Nicolas PitreOct 17, 2006
  17. A Large Angry SCMOct 15, 2006
  18. Nicolas PitreOct 15, 2006
  19. Junio C HamanoOct 15, 2006
  20. Theodore TsoOct 15, 2006
  21. Linus TorvaldsOct 15, 2006
  22. Stephen HemmingerOct 16, 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.