Re: git pack/unpack over bittorrent - works!

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Sep 3, 2010 at 10:29 AM, Nicolas Pitre <nico@xxxxxxxxxxx> 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@xxxxxxxxx

> 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
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]