{"version":"2.1.274","anchor":"worktree-cleanup-gains-an-extra-path-resolution-step-before","canonical_anchor":"worktree-cleanup-gains-an-extra-path-resolution-step-before","heading":"Worktree cleanup gains an extra path-resolution step before chdir\/removal","tier":"notice","area":"Git Worktrees","scope":null,"heads_up":null,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.274\/e\/worktree-cleanup-gains-an-extra-path-resolution-step-before","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.274","markdown":"### Worktree cleanup gains an extra path-resolution step before chdir\/removal\n\nWorktree cleanup now resolves the worktree path with a fallback before using it\n\n**What**\n\nWhen cleaning up a git worktree, the code now computes a resolved version of the worktree path (falling back to the original path if resolution fails) before proceeding, and uses that resolved path consistently in the subsequent steps, including changing directory and running `git worktree remove`.\n\n**Why**\n\nThis makes worktree cleanup more robust in cases where the raw path and its resolved form differ.\n\n- Area: Git Worktrees\n- Tier: You'll notice\n- Useful: 1\/5\n- Signal: 1\/5"}