pub fn commit_id_from_ref(repo: &Repository, reference: &str) -> Oid
Expand description

Get the Commit Oid from a reference name.