Files
Shoubhit Dash e293f57547 fix(core): close snapshot races found in review
- Scan the temporary index that the capture writes, never the shared one, so a concurrent process cannot roll entries back into a snapshot.
- Sweep abandoned temporary indexes by the creation time in their name; a hard link keeps the store index's old mtime while in use.
- Rebuild the index only when Git itself reports it unreadable, and install the source index atomically instead of deleting first.
- Record a tracked file replaced by an embedded repository as a gitlink.
- Drop exclude mirroring, which changed how source negations apply.
- Keep step cancellation responsive while the start snapshot is captured.
- Restore checkouts before removals so one failed removal cannot block the rest.
- Rename internals: objects.pack (not compact), withTemporaryIndex, lastCaptures, attemptCapture, canBatchRestore, pendingSnapshot; fold the capture's seed into ignores.
2026-10-05 14:26:49 +05:30
..