From: Nguyen Thai Ngoc Duy Date: Fri, 03 Sep 2010 02:48:21 GMT Subject: Re: git pack/unpack over bittorrent - works! Message-ID: In-Reply-To: On Fri, Sep 3, 2010 at 10:29 AM, Nicolas Pitre wrote: > 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