Function git::testutil::commit_id_from_ref
source · [−]pub fn commit_id_from_ref(repo: &Repository, reference: &str) -> OidExpand description
Get the Commit Oid from a reference name.
pub fn commit_id_from_ref(repo: &Repository, reference: &str) -> OidGet the Commit Oid from a reference name.