pub fn resolve(repo: &Repository, spec: &str) -> Result<ObjectId>Expand description
Resolve a revision spec to a concrete commit id.
Supported forms, tried in this order:
HEAD,HEAD~N— current commit, walkingNfirst-parents back- a branch name
- a full 64-char hash (with or without the
blake3:prefix) - an unambiguous short hash prefix