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

[RFC/PATCH 0/3] Enable in-process submodule traversal

From
LHLars Hjemli <hjemli@gmail.com>
Date
Jan 11, 2009, 23:45 UTC
Message-ID
<1231717555-10559-1-git-send-email-hjemli@gmail.com>

This patch series implements basic support for traversing the tree objects in submodules when the linked commit object is reachable. Normally such linked commit objects will not be reachable in the containing repository, but adding local copies of submodule repositories as alternate object databases for the containing repo solves this issue.

The first patch in the series does all the 'hard work' required for the traversal to work, while the next two patches adds a '--submodules' flag to git-archive and git-ls-tree as proof of concept.

Lars Hjemli (3):
  tree.c: add support for traversal of submodules
  archive.c: enable traversal of submodules
  builtin-ls-tree: enable traversal of submodules
 archive.c         |    2 ++
 builtin-ls-tree.c |   23 ++++++++---------------
 tree.c            |   20 +++++++++++++++++---
 tree.h            |    1 +
 4 files changed, 28 insertions(+), 18 deletions(-)
Next: Lars Hjemli
Message 1 of 9 in “Enable in-process submodule traversal”
  1. 0/3 Enable in-process submodule traversalLars Hjemli, Jan 11, 2009
  2. 1/3 tree.c: add support for traversal of submodulesLars Hjemli, Jan 11, 2009
  3. 2/3 archive.c: enable traversal of submodulesLars Hjemli, Jan 11, 2009
  4. 3/3 builtin-ls-tree: enable traversal of submodulesLars Hjemli, Jan 11, 2009
  5. Junio C HamanoJan 12, 2009
  6. Lars HjemliJan 12, 2009
  7. Junio C HamanoJan 12, 2009
  8. Lars HjemliJan 12, 2009
  9. Junio C HamanoJan 12, 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.