pub fn resolve_commit(repo: &Path, rev: &str) -> Result<String, GateError>
The full commit id rev names in repo.
rev
repo