pub fn get_head_for_repo(repo: &Repository) -> Result<Commit<'_>, Error>Expand description
Resolves HEAD to a commit for the specified repo. Returns an error if HEAD doesn’t exist, or HEAD doesn’t
point to a commit in the provided repository
pub fn get_head_for_repo(repo: &Repository) -> Result<Commit<'_>, Error>Resolves HEAD to a commit for the specified repo. Returns an error if HEAD doesn’t exist, or HEAD doesn’t
point to a commit in the provided repository