From: Ilari Liusvaara Date: Thu, 04 Feb 2010 20:03:07 GMT Subject: Re: [PATCH] fast-import: count --max-pack-size in bytes Message-ID: <20100204200306.GA11700@Knoppix> In-Reply-To: <7v4olwbyvf.fsf_-_@alter.siamese.dyndns.org> On Thu, Feb 04, 2010 at 11:10:44AM -0800, Junio C Hamano wrote: > Similar in spirit to 07cf0f2 (make --max-pack-size argument to 'git > pack-object' count in bytes, 2010-02-03) which made the option by the same > name to pack-objects, this counts the pack size limit in bytes. > > In order not to cause havoc with people used to the previous megabyte > scale an integer smaller than 8092 is interpreted in megabytes but the Typo? Shouldn't it be 8192? > user gets a warning. Also a minimum size of 1 MiB is enforced to avoid an > explosion of pack files. -Ilari