Files
apes-sidebar/tests
xucl 416e20d292 fix(git): re-spell the linked worktrees a WSL repository lists
`git worktree list` prints the same POSIX spelling as `rev-parse
--show-toplevel` when it runs inside the distribution, so in a WSL workspace
every linked checkout arrived as `/home/...`. That broke the worktree selector
in two ways at once: `current` compared a POSIX entry against the now-UNC
current root and never matched (so no checkout was marked as the current one),
and `resolveWorktree` handed the POSIX entry back as a command target, which
the Windows git then refused.

Re-spell in `listedWorktrees()`, the single place both the inventory
(`worktrees()`) and the selector (`resolveWorktree()`) read from.

Refs #1189
2026-11-18 00:07:48 +08:00
..