Re: Sparse clones (Was: Re: [PATCH 1/2] upload-pack: support subtree packing)
- From
Nguyen Thai Ngoc Duy <pclouds@gmail.com>
- Date
- Jul 28, 2010, 03:06 UTC
- Message-ID
- <AANLkTin3OB6mw6rih208ybCL2+QQ8LpuCP5y=DywMuyw@mail.gmail.com>
- In-Reply-To
- <AANLkTikMLOFet-VMT7MntPgoSkvqGAXPd8Z1aaDpY1xs@mail.gmail.com>
2010/7/28 Avery Pennarun <apenwarr@gmail.com>:
Show 9 quoted lines
> 2010/7/27 Elijah Newren <newren@gmail.com>: >> 0) Sparse clones have "all" commit objects, but not all trees/blobs. >> >> Note that "all" only means all that are reachable from the refs being >> downloaded, of course. I think this is widely agreed upon and has >> been suggested many times on this list. > > I think downloading all commit objects would require very low > bandwidth and storage space, so it should be harmless.
Here you go. A pack with only commits and trees of git.git#master is 15M. With blobs, it is 28M. Git is not a typical repo with large blobs though.
-- Duy