pub fn run_commit_phase(
root: &Path,
branch: &str,
epoch_before: &GitOid,
epoch_candidate: &GitOid,
) -> Result<CommitResult, CommitError>Expand description
Run COMMIT phase:
- CAS move
refs/manifold/epoch/currentold->new - CAS move
refs/heads/<branch>old->new - Persist merge-state at each transition (atomic write + fsync)