Re: [PATCH v4 06/11] pack-objects: move in_pack out of struct object_entry

2018-03-26 Thread Stefan Beller
Hi, sorry for the late review, as I am pointed here indirectly via https://public-inbox.org/git/xmqqy3iebpsw@gitster-ct.c.googlers.com/ On Fri, Mar 16, 2018 at 11:33 AM Nguyễn Thái Ngọc Duy wrote: > +LIMITATIONS > +--- > + > +This command could only handle 16384

[PATCH v4 06/11] pack-objects: move in_pack out of struct object_entry

2018-03-16 Thread Nguyễn Thái Ngọc Duy
Instead of using 8 bytes (on 64 bit arch) to store a pointer to a pack. Use an index instead since the number of packs should be relatively small. This limits the number of packs we can handle to 16k. For now if you hit 16k pack files limit, pack-objects will simply fail [1]. [1] The escape