Re: [RFC/PATCH] define the way new representation types are encoded in the pack
- From
Jakub Narebski <jnareb@gmail.com>
- Date
- Oct 28, 2011, 13:41 UTC
- Message-ID
- <m3wrbp44kr.fsf@localhost.localdomain>
- In-Reply-To
- <7v62j9veh3.fsf@alter.siamese.dyndns.org>
Junio C Hamano <gitster@pobox.com> writes:
Show 6 quoted lines
> 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?
-- Jakub Narębski