{"version":"2.1.307","anchor":"workspace-diff-refuses-nested-repo-scan-after-cwd-leaves-lau","canonical_anchor":"workspace-diff-refuses-nested-repo-scan-after-cwd-leaves-lau","heading":"Workspace diff stops looking for nested repositories if the folder has changed","tier":"notice","area":"Git","scope":"individual","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.307\/e\/workspace-diff-refuses-nested-repo-scan-after-cwd-leaves-lau","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.307","markdown":"### Workspace diff stops looking for nested repositories if the folder has changed\n\nThe workspace diff now also looks for nested repositories without an interface, and stops with a warning if the working folder has moved\n\n**What**\n\nThe workspace diff shows the changes in your project. As part of that, Claude Code looks for repositories nested inside your project folder (a repository is a folder tracked by version control such as git).\n\n- That scan now also runs when Claude Code is running without an interactive interface.\n\n- If the process has moved away from the folder it was started in, the scan does not run and Claude Code shows a warning.\n\n**Why**\n\nThis stops Claude Code from showing changes from the wrong repository.\n\n- Area: Git\n- Tier: You'll notice\n- Useful: 1\/5\n- Signal: 1\/5\n- Scope: individual\n- Heads-up: no"}