Re: [RFC PATCH 01/15] README-sparse-clone: Add a basic writeup of my ideas for sparse clones
- From
Nguyen Thai Ngoc Duy <pclouds@gmail.com>
- Date
- Sep 5, 2010, 03:01 UTC
- Message-ID
- <AANLkTikx89M+JcOcabU3TazGB=k8x39QLbVe7sH7Vvaa@mail.gmail.com>
- In-Reply-To
- <1283645647-1891-2-git-send-email-newren@gmail.com>
On Sun, Sep 5, 2010 at 10:13 AM, Elijah Newren <newren@gmail.com> wrote:
Show 12 quoted lines
> +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