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.
C aiderastclaude-codecode-analysiscode-intelligencecodexcursorcypherdeveloper-toolsgemini-cligraph-visualizationkilocodeknowledge-graphmcpmcp-servermodel-context-protocolopencodesqlitetree-sitterwindsurf
docs(config): state how ignore_worktrees treats subdirectories
Martin Vogel04ed0240e9f6
diff --git a/docs/CONFIGURATION.md b/docs/CONFIGURATION.mdindex 99a2a328a..181a8aad4 100644--- a/docs/CONFIGURATION.md+++ b/docs/CONFIGURATION.md@@ -154,6 +154,15 @@ The main checkout of the same repository is unaffected, as are ordinary clonesand submodules. Detection is git plumbing only: a linked worktree's `.git` is afile pointing at a gitdir that contains a `commondir` entry.+A subdirectory counts as the worktree it sits in. Detection walks up from the+given path to the nearest `.git` entry, so `index_repository` on any+subdirectory of a linked worktree is refused the same way, and a session root or+hook working directory inside one is treated as that worktree. The walk stops at+the first `.git` it finds; a main checkout or a submodule ends it as "not a+worktree". A path outside any git checkout is checked one directory at a time up+to the filesystem root and is never treated as a worktree. None of this runs+while the key is off.+The default is `false`, so indexing behavior is unchanged unless you opt in.## 3. UI Settings