Thread (20 messages) flat view 20 messages, 5 authors, 2016-06-15

Re: duplicate objects in packfile

From: Nicolas Pitre <nico@fluxnic.net>
Date: 2016-06-15 22:58:25

Possibly related (same subject, not in this thread)

On Wed, 14 Aug 2013, Junio C Hamano wrote:
Also repacking may have a funny corner case. I do not recall the
details as the above was a long time ago, but when I was tracking it
down, a delta was made against one copy of the base object, and
referred to it using delta-offset, while there was another copy of
the base object which was found by the bisection search, and from
there on, the inconsistencies between these two (they represent the
same payload, but they are at different offsets in the same pack and
with different in-pack sizes) led to some funky behaviour.
Crap.

Better try to cope with this (with a test case, etc.) rather than 
rejecting them now I'd say.  Strictly speaking, they're still valid pack 
files.


Nicolas
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help