Two separate nested-repository worktree-removal errors were merged into one "submodule" case with clearer wording
When Claude Code refuses to remove a git worktree because of nested repositories, it used to report two separate reasons internally (nested_repositories and nested_unverified). These are now merged into a single "submodule" case, with wording that tells apart a worktree holding a separate git repository, which should be moved or deleted, from a submodule whose state can't be verified, which needs a manual check.
This gives clearer, more consistent guidance when a worktree removal is blocked by nested repository content, telling the user directly whether they need to move or delete something versus check it manually.