Cleaning up a worktree no longer tries to switch into a network drive path, falling back to your home directory.
What's wrong with this entry?
The keep/restore-cwd path now detects a UNC or network-spelled original working directory and throws instead of changing into it.
- The recovery loop falls back to the home directory when the original cwd is network-spelled.
- The path is screened and never touched.
network-spelled original cwd (screened, never touched)
Strings lifted out of the shipped bundle, so the claim above can be checked against them.
Related
Other releases about the same thing. Found by shared names or similar wording; neither means one caused the other.
-
v2.1.239
worktree.locationsetting for Desktop SSH sessionsBoth mention worktree
-
v2.1.246
Worktree cleanup only removes directories Claude Code created
Both mention worktree
-
v2.1.247
Cloud-session seeding names linked worktrees and split git layouts as un-seedable
Both mention worktree