{"version":"2.1.292","anchor":"new-claude-code-repo-checkouts-accessor","canonical_anchor":"new-claude-code-repo-checkouts-accessor","heading":"Repository checkout map is built through a new helper, and the workspace diff reports followsShell","tier":"use","area":"Sessions","scope":"individual","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.292\/e\/new-claude-code-repo-checkouts-accessor","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.292","markdown":"### Repository checkout map is built through a new helper, and the workspace diff reports followsShell\n\nThe CLAUDE_CODE_REPO_CHECKOUTS lookup moves into a new accessor, and the workspace diff scan now returns which repo root it uses and whether it follows the shell\n\n**Unclear.** What Claude Code uses this list of repository checkouts for is not stated.\n\n**What**\n\nClaude 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.\n\n- A new function returns the map only when `CLAUDE_CODE_REPO_CHECKOUTS` is set, and an empty map otherwise. The variable itself is not new.\n\n- 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_CHECKOUTS` was set and used an empty map otherwise.\n\n- That scan now returns `{root, followsShell}`: the repository root it settled on, and whether it follows the shell's current folder.\n\n**Why**\n\nThis may change which repository the workspace diff follows, especially when `CLAUDE_CODE_REPO_CHECKOUTS` is not set.\n\n- Area: Sessions\n- Names: `CLAUDE_CODE_REPO_CHECKOUTS`\n- Tier: Use it now\n- Useful: 5\/5\n- Signal: 3\/5\n- Scope: individual\n- Heads-up: no"}