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

Re: [PATCH] pack-objects: use of version 3 delta is now optional.

From
A Large Angry SCM <gitzilla@gmail.com>
Date
Oct 15, 2006, 20:00 UTC
Message-ID
<45329359.1030302@gmail.com>
In-Reply-To
<Pine.LNX.4.64.0610151422510.17085@xanadu.home>
Nicolas Pitre wrote:
Show 22 quoted lines
> On Sun, 15 Oct 2006, Junio C Hamano wrote:
> 
>> Nicolas Pitre <nico@cam.org> writes:
>>
>>> If anything, maybe this patch can be added before v1.4.3 is released:
>>> ...
>>> This way pack v3 could be fed to GIT v1.4.3 and above whenever we add 
>>> back pack v3 generation, and a pack converted to v2 from any v3 on the 
>>> fly when that capability is not present.
>> I think that is sensible.  I also was thinking that we should
>> call the current one packv3 and the one with delta-base-offset
>> packv4.
> 
> I think we should not.  The pack version should be tied to incompatible 
> pack data to prevent older GIT versions from misinterpreting newer 
> packs.  The delta block copy encoding is a perfect example of that where 
> a bit changed meaning.
> 
> The delta-base-offset case included a new object type that wasn't used 
> before hence there is no room for confusion, and yet that new delta 
> object could be encoded according to pack version 2 or pack version 3 
> which makes it orthogonal to the pack version itself.
It's not a new object type. It's a new object _encoding_ method.
Previous: Nicolas PitreNext: Nicolas Pitre
Message 11 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.