pub fn commit_patch(root: &Path, commit: &str) -> String
One commit’s patch, if commit names a commit (a blob or a tree id from elsewhere in the repository is never shown); empty otherwise.
commit