pub fn rev_exists(repo_root: &Path, rev: &str) -> bool
Check whether a git revision resolves to a valid commit.