pub fn head_commit( root: &Path, spawned: &mut usize, ) -> Result<Vec<u8>, ProbeError>
Verify repository access and the current commit without walking its parents.