Under the hoodTier: how much it should matter to you
1Useful: my rating, 1 to 5
0Signal: worth watching, 1 to 5
Git WorktreesArea: what it touches
ImprovementsKind: in v2.1.274,
ImprovementsSection of the release
What
The logic that removes or verifies worktrees (used when exiting or cleaning one up) now resolves the git directory up front and passes it explicitly via --git-dir to every subsequent git worktree list and git worktree remove command, instead of letting git discover it based on the current working directory.
Why
This makes worktree cleanup more reliable by pointing git at the correct repository directly, avoiding cases where relying on the current directory could pick the wrong git directory.