fn looks_like_commit_hash(rev: &str) -> bool