From: Shawn O. Pearce Date: Thu, 04 Feb 2010 19:13:01 GMT Subject: Re: [PATCH] fast-import: count --max-pack-size in bytes Message-ID: <20100204191301.GA18668@spearce.org> In-Reply-To: <7v4olwbyvf.fsf_-_@alter.siamese.dyndns.org> 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 > user gets a warning. Also a minimum size of 1 MiB is enforced to avoid an > explosion of pack files. > > Signed-off-by: Junio C Hamano > Acked-by: Shawn O. Pearce > Acked-by: Nicolas Pitre > --- > > Ok, third-time lucky? Knock wood... Yea, I like it. Thanks Junio. -- Shawn.