pub fn head_id(repo: &Repository) -> Option<Oid>
Expand description

Lookup the commit ID for HEAD