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

Shallow submodule update/clone?

From
CEChas Emerick <cemerick@snowtide.com>
Date
Jan 19, 2009, 16:59 UTC
Message-ID
<78F609E2-8FB4-452B-A54D-2929710E6773@snowtide.com>

Is there a way to cause 'git submodule update' to perform a shallow clone of some or all of a repo's submodules?

Ideally, I'd like to be able to specify that particular submodules be shallowly cloned all the time (perhaps by specifying a default --depth when doing 'git submodule add ...'). Just an idea, there.

Cheers,
- Chas
Message 1 of 1 in “Shallow submodule update/clone?”
  1. Chas EmerickJan 19, 2009

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.