Expand description
A coarse advisory lock so two git-stk processes never run state-mutating commands at once. Git locks its own index and refs, but not git-stk’s multi-step orchestration (snapshot, rebases, metadata, provider calls), so a concurrent run could clobber the undo snapshot or half-rewrite the stack.
Structs§
- Lock
- Held for the duration of a mutating command; removes the lock file on drop. Outside a git repo it is a no-op, so the command surfaces its own error.