Unclear What a user sees differently after this change is not shown.
What
A Git worktree is an extra working folder linked to the same repository. When checking a worktree fails, Claude Code now records a reason. If the reason is that the worktree does not point back to its repository, Claude Code treats it as unregistered straight away.
Before, Claude Code decided this by matching the error text. It now only does that when no reason was recorded.
Why
This changes how Claude Code recovers worktrees whose links are broken.
Something disagreesSomething we can check disagrees with this entry, or the writer said they could not settle it.
The writer flagged doubt
What a user sees differently after this change is not shown.