{"version":"2.1.326","anchor":"worktree-exit-prompt-counts-new-folders-separately-from-file","canonical_anchor":"worktree-exit-prompt-counts-new-folders-separately-from-file","heading":"Leaving a worktree now counts new folders separately from files","tier":"notice","area":"Worktrees","scope":"individual","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.326\/e\/worktree-exit-prompt-counts-new-folders-separately-from-file","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.326","markdown":"### Leaving a worktree now counts new folders separately from files\n\nThe keep-or-remove worktree prompt now lists uncommitted files and new folders separately, such as \"3 uncommitted files and 2 new folders\"\n\n**What**\n\nA worktree is a separate working copy of a git repository that Claude Code can work in. When you leave one, Claude Code asks whether to keep or remove it and warns you about work that is not yet committed, meaning not saved into git. That warning now counts files and new folders separately, for example \"3 uncommitted files and 2 new folders\". Before, it gave one count of files.\n\nThe error shown when git cannot inspect the worktree now says it \"could not check\" it, where it used to say \"could not vet\".\n\n**Why**\n\nIf you are deciding whether to remove a worktree, you get a clearer picture of what would be lost.\n\n- Area: Worktrees\n- Tier: You'll notice\n- Useful: 2\/5\n- Signal: 1\/5\n- Scope: individual\n- Heads-up: no"}