Files
paseo/docs
Mohamed BoudraandOkan YILDIRIM 7d07d2df2d fix(archive): save a workspace's HEAD when it is archived, not when its folder goes
Archive saved HEAD for every record on a folder at the moment the folder
was removed, including records archived from it earlier. A new worktree
that reused an archived worktree's folder therefore overwrote the archived
record's saved HEAD when it was itself archived, and the archived one came
back on the new worktree's branch or lost its detached commits.

Archive now saves HEAD for each workspace it archives, at that moment,
whether or not the folder goes. A record's ref is written only by its own
archive, read only by its restore and deleted only by its unarchive. The
listAllWorkspaces dependency and its wiring are gone.

Co-authored-by: Okan YILDIRIM <63511519+ragokan@users.noreply.github.com>
2026-11-17 14:50:03 +01:00
..