pub fn clean_git_commit_from_snapshot_identity(identity: &str) -> Option<&str>Expand description
Returns the clean Git commit carried by a persisted snapshot identity.
Clean snapshots already store the commit SHA directly. Worktree overlays use
worktree:<base-commit>:<overlay-hash> and deliberately resolve back to the
clean base so a later commit reconciliation never treats dirty files as an
incremental Git base. Filesystem identities are not Git commits.