pub async fn rev_parse(repo: &Path, rev: &str) -> Result<String>
Resolve a revision to a full object id.