From: Luke Kenneth Casson Leighton Date: Fri, 03 Sep 2010 10:55:57 GMT Subject: Re: git pack/unpack over bittorrent - works! Message-ID: In-Reply-To: On Fri, Sep 3, 2010 at 3:48 AM, Nguyen Thai Ngoc Duy wrote: > 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. thank you nguyen, will take a look later in the day at that. much appreciated.