From: Jeff King Date: Fri, 09 Apr 2021 15:49:11 GMT Subject: Re: There should have be git gc --repack-arguments Message-ID: In-Reply-To: <1edb799b-5e17-264d-e525-5355c52af36a@gmail.com> On Fri, Apr 09, 2021 at 04:58:32PM +0700, Bagas Sanjaya wrote: > On 08/04/21 05.22, Jeff King wrote: > > If you are sneaker-netting, you are probably better off to just split > > the pack at byte boundaries with an external tool anyway, for two > > reasons: > > > > - our max-pack-size is just a guideline. It only splits at object > > boundaries so if you have an object bigger than the max, we'll > > exceed it. > > > > - dedicated splitting tools often have useful extra features, like > > k-of-n error correction. > > > What external tools are for splitting packs? Can splitted packs > by such tools still be usable by Git? No, but you can reassemble the parts at the destination before feeding them to Git. On a system with normal posix tools, you can split like: git pack-objects --stdout --all