From: Junio C Hamano Date: Thu, 01 Mar 2018 18:05:21 GMT Subject: Re: [PATCH 07/11] pack-objects: move in_pack out of struct object_entry Message-ID: In-Reply-To: <20180301091052.32267-8-pclouds@gmail.com> Nguyễn Thái Ngọc Duy writes: > Instead of using 8 bytes (on 64 bit arch) to store a pointer to a > pack. Use an index isntead since the number of packs should be > relatively small. > > This limits the number of packs we can handle to 256 (still > unreasonably high for a repo to work well). If you have more than 256 > packs, you'll need an older version of Git to repack first. I can tell without looking at the rest of the thread that people had reasonable objection against this stance ;-) This will not fly well.