Re: Git exhausts memory.
- From
Nicolas Pitre <nico@fluxnic.net>
- Date
- Apr 6, 2011, 00:34 UTC
- Message-ID
- <alpine.LFD.2.00.1104052032290.28032@xanadu.home>
- In-Reply-To
- <7vmxk4l4yb.fsf@alter.siamese.dyndns.org>
On Tue, 5 Apr 2011, Junio C Hamano 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.
Just use unsigned long. Everywhere we have object size, it is stored as unsigned long.
Nicolas