From: Lars Hjemli Date: Sun, 11 Jan 2009 23:45:52 GMT Subject: [RFC/PATCH 0/3] Enable in-process submodule traversal 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(-)