Skip to main content

head_commit_hash_in

Function head_commit_hash_in 

Source
pub fn head_commit_hash_in(repo: &Path) -> Result<String>
Expand description

Return HEAD’s full commit hash for the given repository (or worktree).

Retained as a named entry point for the determinism harness / CI glue; delegates to get_head_commit_in so HEAD-sha resolution lives in exactly one place rather than re-implementing its own rev-parse.