Skip to main content

commit_patch

Function commit_patch 

Source
pub fn commit_patch(root: &Path, commit: &str) -> String
Expand description

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.