Thread (1 message) 1 message, 1 author, 2016-06-15

Re: [RFC/PATCH] define the way new representation types are encoded in the pack

From: Junio C Hamano <hidden>
Date: 2016-06-15 22:52:20

Jakub Narebski [off-list ref] writes:
Junio C Hamano [off-list ref] writes:
quoted
When bit 4-6 encodes type 5, the first byte is used this way:

 - Bit 0-3 denotes the real "extended" representation type. Because types
   0-7 can already be encoded without using the extended format, we can
   offset the type by 8 (i.e. if bit 0-3 says 3, it means representation
   type 11 = 3 + 8);
Why not use third byte for that instead?
Is it a good enough reason that there is no upside for doing so?
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help