pub fn git_rev_parse(root: &Path, rev: &str) -> Result<String>Expand description
2026-09-26: The full 40-hex commit id rev resolves to in this working tree.
ยงErrors
If git cannot run, rev does not name a commit, or git prints something other
than 40 hex digits.