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

Re: [ANNOUNCE] GIT 1.5.2-rc3

From
Junio C Hamano <junkio@cox.net>
Date
May 11, 2007, 07:10 UTC
Message-ID
<7v1whnesyn.fsf@assigned-by-dhcp.cox.net>
In-Reply-To
<200705111330.54312.litvinov2004@gmail.com>
Alexander Litvinov <litvinov2004@gmail.com> writes:
> I have tried your test and found that cloning such repo does not clone 
> subprojects. Only empty dir 'sub' is being cloned.

Yes, that is pretty much intentional. Having a link for higher layer tools can use (i.e. tree objects can contain 160000 mode "gitlinks" to subproject commit objects) while not considering such linkage part of the reachability is the whole point of plumbing level subproject support. It allows people not to download repositories of uninteresting subprojects. Higher layer tools such as clone/checkout/diff could be instructed (currently they cannot be, though) to recurse into subproject directories if the user wants to.

A few good pointers for this topic are:
        $gmane/44162
        $gmane/44308
Previous: Alexander LitvinovNext: Lars Hjemli
Message 5 of 8 in “[ANNOUNCE] GIT 1.5.2-rc3”
  1. Junio C HamanoMay 11, 2007
  2. Alexander LitvinovMay 11, 2007
  3. Junio C HamanoMay 11, 2007
  4. Alexander LitvinovMay 11, 2007
  5. Junio C HamanoMay 11, 2007
  6. Lars HjemliMay 11, 2007
  7. Martin WaitzMay 11, 2007
  8. Junio C HamanoMay 11, 2007

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.