mirror of
https://github.com/getpaseo/paseo.git
synced 2026-11-19 23:05:21 +00:00
Archive and recovery key the saved HEAD by the recorded worktree root, which is already a real path. Worktree placement checked the path as written, so with a symlink in the Paseo home or worktrees root a new worktree missed the saved HEAD and took the archived folder's path. archived-head.ts now resolves symlinks itself when it builds the key, through the nearest existing ancestor when the folder is gone, so every spelling of one folder reaches the same ref. Co-authored-by: Okan YILDIRIM <63511519+ragokan@users.noreply.github.com>