Re: [RFC PATCH 01/15] README-sparse-clone: Add a basic writeup of my ideas for sparse clones

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

 



On Sun, Sep 5, 2010 at 10:13 AM, Elijah Newren <newren@xxxxxxxxx> wrote:
> +To ensure minimum necessary connectivity, we also download basic
> +information from otherwise excluded commits
> +  * parents of these commits
> +  * trees matching the specified sparse path(s)
> +but, for security and space reasons, do not download
> +  * author
> +  * author date
> +  * committer
> +  * committer date
> +  * log message
> +Such commits are still considered "missing" (see item I4 for more
> +details about how we handle "missing" commits).

Just an observation. When I ran pack-objects with irrelevant commits
removed (i.e. try_to_simplify_commit) on Documentation/, I got a 6MB
pack. When I ran it without commit simplification, I got 16MB pack.
That's 10MB larger.

Now I don't how much of that 10MB share is commit messages, authors,
committers and trees but I suspect trees take a large part in it.
Maybe you can just fake the trees in those fake commits as well, to
avoid downloading more trees.
-- 
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]