Overview
| Comment: | open --store re-points an already-open tree (#59)
A moved store strands its satellites, and a stranded tree can hold uncommitted work. Re-open repairs the pointer in place, gated on the new store containing the tree's current check-in. |
|---|---|
| Timelines: | family | ancestors | descendants | both | worktrees |
| Files: | files | file ages | folders |
| SHA3-256: |
7ac1ec2255d5bd784f0e104cf4e385d9 |
| User & Date: | dmestas on 2026-08-15 15:06:41.615 |
| Other Links: | branch diff | manifest | tags |
Context
|
2026-08-15
| ||
| 15:58 | merge worktrees: detached checkouts, store lock, open --store re-point (#59) check-in: bcbf29d017 user: dmestas tags: trunk | |
| 15:06 |
open --store re-points an already-open tree (#59)
A moved store strands its satellites, and a stranded tree can hold uncommitted work. Re-open repairs the pointer in place, gated on the new store containing the tree's current check-in. closed check-in: 7ac1ec2255 user: dmestas tags: worktrees | |
| 13:39 |
worktrees: detached checkouts of one store (#59)
Every store writer serializes on an exclusive flock held open-to-commit (released before autosync and the drift advisory). A checkout's store_location section is resolved in one place; open --store PATH creates a detached working tree, and probeRoot accepts a checkout whose pointer resolves. Store-scoped verbs (pack, shun, serve) follow the pointer end to end. check-in: 94d4659a53 user: dmestas tags: worktrees | |
Changes
Modified src/cmd/sync.zig
from [99ee785b50]
to [0b4a952ccf].
[diff]
Modified src/e2e.zig
from [5f574d269e]
to [98bdaedd03].
[diff]
Modified src/main.zig
from [8b926fd00c]
to [a88f134a2c].
[diff]