Skip to main content

rev_count

Function rev_count 

Source
pub fn rev_count(repo_path: &Path) -> Result<i64, String>
Expand description

Count the number of commits reachable from HEAD (equivalent to git rev-list --count HEAD).