From: Shawn Pearce Date: Tue, 05 Apr 2011 22:19:30 GMT Subject: Re: Git exhausts memory. Message-ID: In-Reply-To: <7vmxk4l4yb.fsf@alter.siamese.dyndns.org> On Tue, Apr 5, 2011 at 18:16, Junio C Hamano wrote: > Nicolas Pitre writes: > >>> > This is only implemented inside of fast-import. pack-objects does not >>> > honor this variable. >>> >>> Do you mean perhaps we should? >> >> Yes. >> >> Acked-by: Nicolas Pitre > > I actually was somewhat unhappy to use uintmax_t type in the public header > for some reason I cannot quite explain (perhaps religious), and was hoping > somebody with more sanity than myself would stop me or show me a better > way. unsigned long? Without even looking at the source, I bet that is the type used by pack-objects for the size member that you are comparing against. -- Shawn.