Unclear What Claude Code uses this list of repository checkouts for is not stated.
What
Claude Code keeps a map of repository checkouts (local copies of a code repository) that it can use. The environment variable CLAUDE_CODE_REPO_CHECKOUTS affects this map.
- A new function returns the map only when
CLAUDE_CODE_REPO_CHECKOUTSis set, and an empty map otherwise. The variable itself is not new. - The scan for nested repositories behind the workspace diff (the view of changed files) now builds its map of checkouts through a new helper. Before, it built that map only when
CLAUDE_CODE_REPO_CHECKOUTSwas set and used an empty map otherwise. - That scan now returns
{root, followsShell}: the repository root it settled on, and whether it follows the shell's current folder.
Why
This may change which repository the workspace diff follows, especially when CLAUDE_CODE_REPO_CHECKOUTS is not set.
Names in the bundleCLAUDE_CODE_REPO_CHECKOUTS
Something disagreesSomething we can check disagrees with this entry, or the writer said they could not settle it.
The writer flagged doubt
What Claude Code uses this list of repository checkouts for is not stated.