Skip to main content

parent_of

Function parent_of 

Source
pub fn parent_of(repo: &Path, commit: &str) -> Option<String>
Expand description

The commit before this one, if it has one.

Reaches past the range for the same reason git log -p does: otherwise the oldest commit shown could not say what it did.