The recorded worktree, as WorktreeCreated holds it: its path,
compared exactly with the listing's; its short branch name, taken
verbatim as recorded at creation, whose ref refs/heads/<branch> the
listing must show; and its git identity. The check assumes no branch
prefix, so a worktree created under an earlier prefix still passes.
Every field is non-empty text.
The recorded worktree, as
WorktreeCreatedholds it: its path, compared exactly with the listing's; its short branch name, taken verbatim as recorded at creation, whose refrefs/heads/<branch>the listing must show; and its git identity. The check assumes no branch prefix, so a worktree created under an earlier prefix still passes. Every field is non-empty text.