pub fn log(
root: &Path,
pathspec: Option<&str>,
limit: Option<usize>,
) -> Result<Vec<CommitInfo>>Expand description
Return the commit history, most recent first. If pathspec is given, only
commits touching that path are returned. limit caps the number of commits.