Skip to content
Discussion options

You must be logged in to vote

Yes. How you do it depends on what "sub-repo" means in your layout. Indexing uses git ls-files at the detected root, which is the nearest .git going up (FAQ: monorepos and multiple repos). So it matters how git sees the sub-repos.

a) The sub-repos are git submodules of the top-level repo. By default only the parent's own files are indexed. Turn on submodule recursion and you get one graph in <top>/.code-review-graph/:

cd top-level
CRG_RECURSE_SUBMODULES=1 code-review-graph build

This adds --recurse-submodules to git ls-files (incremental.py#L1392-L1394). Set the same env var wherever the MCP server / update runs, so incremental updates also include them. The MCP build tool also takes recu…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@ian-lewis-eng
Comment options

Answer selected by ian-lewis-eng
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants