{"version":"2.1.323","anchor":"bare-repo-scrub-handles-links-and-junctions-retries-by-dept","canonical_anchor":"bare-repo-scrub-handles-links-and-junctions-retries-by-dept","heading":"Cleanup of planted git files handles links and retries failed paths","tier":"notice","area":"Git","scope":"individual","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.323\/e\/bare-repo-scrub-handles-links-and-junctions-retries-by-dept","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.323","markdown":"### Cleanup of planted git files handles links and retries failed paths\n\nClaude Code's cleanup of git files planted in a folder now retries paths it could not check and treats Windows links and junctions safely\n\n**What**\n\nClaude Code can remove git files that were planted in a folder to make it behave like a bare repository, a git repository with no working files. This cleanup now sorts paths by how deep they sit in the folder tree and retries the ones whose check failed. Before, it only deleted files, in one pass.\n\nOn Windows, it now treats a `worktrees` entry as a link or junction, a kind of shortcut to another folder, rather than as an ordinary folder. This behaviour is behind a flag.\n\n**Why**\n\nThis is a security hardening change. It makes the cleanup harder to get around with links or with paths that fail on the first try.\n\n- Area: Git\n- Tier: You'll notice\n- Useful: 1\/5\n- Signal: 1\/5\n- Scope: individual\n- Heads-up: no"}