git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: sparse fetch, was Re: [PATCH 08/12] git-clone: support --path to do sparse clone

From
JPJames Pickens <jepicken@gmail.com>
Date
Jul 25, 2008, 00:46 UTC
Message-ID
<loom.20080725T004541-298@post.gmane.org>
In-Reply-To
<20080724182813.GA21186@sigill.intra.peff.net>
Jeff King <peff <at> peff.net> writes:
> I agree there are a lot of issues. I am just thinking of the person who
> said they had a >100G repository. But I am also not volunteering to do
> it, so I will let somebody who really cares about it try to defend the
> idea.

If you're referring to me (I mentioned a 144G CVS repo), then let me clarify a couple of things:

1.  Probably more than 50% of the 144G is crud that should never have
been checked in, but I have some undisciplined coworkers who like to
blindly check in everything in their work trees.  If/when we moved to
git, I would get rid of all that crud.  I'm also thinking about throwing
out a lot of the history, since those same undisciplined coworkers like
to use empty and/or useless log messages, so a lot of the history isn't
very valuable anyways.
2.  Git of course will store the remaining ~70G much more efficiently
than CVS.  I think git will be especially better than CVS for this repo,
because it contains many instances of the same file(s) being checked in
in multiple directories.

I expect the git repo size to be less than 7G. In addition, all our work is done on site on nfs, so we can use clone -s to avoid copying the whole 7G.

To sum it up, sparse cloning would not be important to me.
James
Previous: Johannes SchindelinNext: Jeff King
Message 6 of 16 in “git-clone: support --path to do sparse clone”
  1. 08/12 git-clone: support --path to do sparse cloneNguyễn Thái Ngọc Duy, Jul 23, 2008
  2. Jeff KingJul 24, 2008
  3. sparse fetch, was Re: [PATCH 08/12] git-clone: support --path to do sparse cloneJohannes Schindelin, Jul 24, 2008
  4. Jeff KingJul 24, 2008
  5. Johannes SchindelinJul 25, 2008
  6. James PickensJul 25, 2008
  7. Jeff KingJul 25, 2008
  8. Junio C HamanoJul 25, 2008
  9. Sverre RabbelierJul 25, 2008
  10. Nguyen Thai Ngoc DuyJul 24, 2008
  11. Petr BaudisJul 24, 2008
  12. Sverre RabbelierJul 24, 2008
  13. Johannes SchindelinJul 25, 2008
  14. Petr BaudisJul 25, 2008
  15. Sverre RabbelierJul 25, 2008
  16. Nguyen Thai Ngoc DuyJul 24, 2008

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.