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

Re: question (possibly) on git subtree/submodules

From
Jakub Narebski <jnareb@gmail.com>
Date
Jul 27, 2010, 12:48 UTC
Message-ID
<m3bp9tks6e.fsf@localhost.localdomain>
In-Reply-To
<loom.20100727T125434-697@post.gmane.org>
Alex <ajb44.geo@yahoo.com> writes:
Show 7 quoted lines
> Chris Packham <judge.packham <at> gmail.com> writes:
> 
> > The short answer is no. Nothing git has currently will let you clone a
> > subset of files. 
> 
> Isn't that what 'sparse checkout' does?
> (http://www.kernel.org/pub/software/scm/git/docs/git-read-tree.html#_sparse_checkout)

No, 'sparse checkout' is only about checkout, i.e. the working area. You still have all objects in repository, only part of tree (part of project / repository) is not checked out, not present on disk as files.

-- 
Jakub Narebski
Poland
ShadeHawk on #git
Previous: AlexNext: Marc Branchaud
Message 6 of 9 in “question (possibly) on git subtree/submodules”
  1. Maurizio VitaleJul 23, 2010
  2. Chris PackhamJul 23, 2010
  3. Jonathan NiederJul 23, 2010
  4. Chris PackhamJul 23, 2010
  5. AlexJul 27, 2010
  6. Jakub NarebskiJul 27, 2010
  7. RFC: Sparse checkout improvements (was: Re: question (possibly) on git subtree/submodules)Marc Branchaud, Jul 27, 2010
  8. skillzero@gmail.comJul 27, 2010
  9. Marc BranchaudJul 28, 2010

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.