Re: git pack/unpack over bittorrent - works!
- From
Nguyen Thai Ngoc Duy <pclouds@gmail.com>
- Date
- Sep 3, 2010, 02:48 UTC
- Message-ID
- <AANLkTik1hfe3jVWy236611d7hdP=yt+d3vCBiGvDa26H@mail.gmail.com>
- In-Reply-To
- <alpine.LFD.2.00.1009021931340.19366@xanadu.home>
On Fri, Sep 3, 2010 at 10:29 AM, Nicolas Pitre <nico@fluxnic.net> wrote:
Show 6 quoted lines
> But usually the very first commit in a pack is huge as it typically > isn't delta compressed (a delta chain has to start somewhere). And this > first commit will roughly represent the same size as a tarball for that > commit. And if you don't get at least that first commit then you are > screwed. Or if you don't get a complete second commit when deepening a > clone you are still screwed.
Elijah's recent work on "rev-list --objects -- pathspec" [1] may help split a commit into many parts that can be sent separately.
[1] http://mid.gmane.org/1282803711-10253-1-git-send-email-newren@gmail.com
> Another issue is what to do with objects that are themselves huge.
For big blobs, it's probably best sending them separately so they can be resumed.
-- Duy