{"version":"2.1.274","anchor":"worktree-registration-vetting-before-deletion","canonical_anchor":"worktree-registration-vetting-before-deletion","heading":"Worktree-registration vetting before deletion","tier":"internal","area":"Git Worktrees","scope":null,"heads_up":null,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.274\/e\/worktree-registration-vetting-before-deletion","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.274","markdown":"### Worktree-registration vetting before deletion\n\nNew internal check vets a repository's worktree registrations with git before removal proceeds\n\n**What**\n\nA new internal function checks whether a repository's worktree registrations can be safely verified with git before an operation (such as removing a worktree) proceeds. It resolves pointer or symlinked `.git` directories, and distinguishes between two outcomes: 'unlisted' (the worktree is gone or not a real repository) and 'kept' (git couldn't be asked yet, so the entry is preserved).\n\n**Why**\n\nThis reduces the risk of incorrectly discarding worktree registrations when git can't yet be consulted, by keeping them by default until they can be properly checked.\n\n- Area: Git Worktrees\n- Tier: Under the hood\n- Useful: 1\/5\n- Signal: 1\/5"}