From: Shawn Pearce Date: Sun, 15 May 2011 22:07:17 GMT Subject: Re: [PATCHv3 4/9] pack-objects: Teach new option --max-object-count, similar to --max-pack-size Message-ID: In-Reply-To: <1305495440-30836-5-git-send-email-johan@herland.net> On Sun, May 15, 2011 at 14:37, Johan Herland wrote: > The new --max-object-count option behaves similarly to --max-pack-size, > except that the decision to split packs is determined by the number of > objects in the pack, and not by the size of the pack. Like my note about pack size for this case... I think doing this during writing is too late. We should be aborting the counting phase if the output pack is to stdout and we are going to exceed this limit. -- Shawn.