Re: [PATCHv3 4/9] pack-objects: Teach new option --max-object-count, similar to --max-pack-size
- From
Shawn Pearce <spearce@spearce.org>
- Date
- May 15, 2011, 22:07 UTC
- Message-ID
- <BANLkTi=qtA=34=pdXuJ_cQu0pv6BnE2uSA@mail.gmail.com>
- In-Reply-To
- <1305495440-30836-5-git-send-email-johan@herland.net>
On Sun, May 15, 2011 at 14:37, Johan Herland <johan@herland.net> 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.