"GOT", but the "O" is a cute, smiling pufferfish. Index | Thread | Search

From:
Christian Weisgerber <naddy@mips.inka.de>
Subject:
Re: reuse deltas while packing
To:
Ted Bullock <tbullock@comlore.com>
Cc:
gameoftrees@openbsd.org
Date:
Sun, 6 Feb 2022 01:11:47 +0100

Download raw body.

Thread
Ted Bullock:

> I wasn't really clear on what operations would test this.

Compressing loose objects into pack files, e.g. turning this...

$ gotadmin info 
repository: /home/naddy/src.git
pack files: 12
packed objects: 2077644
packed total size: 1.3G
loose objects: 599
loose total size: 2.0M

... into 13 pack files and 0 loose objects.

I cloned a pristine copy of FreeBSD src.git, and I'm currently
exploding the pack file with "git unpack-objects" into a few million
loose objects.  That should give me something to test.

-- 
Christian "naddy" Weisgerber                          naddy@mips.inka.de