You'll noticeTier: how much it should matter to you
1Useful: my rating, 1 to 5
1Signal: worth watching, 1 to 5
GitArea: what it touches
Bug FixesKind: in v2.1.323,
Bug FixesSection of the release
What
Claude 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.
On 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.
Why
This is a security hardening change. It makes the cleanup harder to get around with links or with paths that fail on the first try.