Re: Git exhausts memory.
- From
Shawn Pearce <spearce@spearce.org>
- Date
- Apr 5, 2011, 22:19 UTC
- Message-ID
- <BANLkTim-6L1ZeaPT3tVWmyhj-rX1iURQ3g@mail.gmail.com>
- In-Reply-To
- <7vmxk4l4yb.fsf@alter.siamese.dyndns.org>
On Tue, Apr 5, 2011 at 18:16, Junio C Hamano <gitster@pobox.com> wrote:
Show 15 quoted lines
> Nicolas Pitre <nico@fluxnic.net> 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 <nico@fluxnic.net> > > 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.