Files
paseo/docs
Mohamed BoudraandOkan YILDIRIM de77c82889 fix(archive): keep an archived worktree's path and base through restore
A new worktree whose slug matched an archived one took its path once the
folder was gone. Archiving the new worktree then replaced the first
one's saved HEAD, so its detached commits lost their ref and restoring
it came back on the second worktree's checkout. The default path picker
now treats a path with a saved HEAD as taken.

Restoring a saved HEAD for a record with no base branch recorded the
restored commit as the base, so the worktree showed no changes against
it. It now uses the repository default, as a branchless restore does.

Co-authored-by: Okan YILDIRIM <63511519+ragokan@users.noreply.github.com>
2026-11-17 13:34:22 +01:00
..