Skip to content

Local code intelligence for developers and AI agents. Connect code, docs and infrastructure in a persistent graph, with CBM Lens, MCP tools, agent integrations and change-aware test selection.

Merge worktree follow-ups into PR #1430

Nohj7ca336b5aac1
diff --cc tests/test_git_context.c
index c721e12cb,10cab0009..15a3d9bf8
--- a/tests/test_git_context.c
+++ b/tests/test_git_context.c
@@@ -509,8 -395,11 +545,11 @@@ TEST(is_linked_worktree_false_for_submo
if (sub_rc != 0) {
SKIP_PLATFORM("git submodule add unavailable in this environment");
}
- /* A submodule gitlink has no commondir → must not be treated as a worktree. */
- /* A submodule gitlink has no commondir → must not be treated as a worktree,
- * including a subdirectory, which must not walk into the superproject. */
++ /* A submodule gitlink has no commondir, including a subdirectory which
++ * must not walk into the superproject. */
ASSERT(!submodule_detected);
+ ASSERT(sub_nested_made);
+ ASSERT(!sub_nested_detected);
PASS();
#endif /* _WIN32 */
}