[][src]Function conventional_commits_next_semver::git_commits_in_range

pub fn git_commits_in_range<'a>(
    repo: &'a Repository,
    range: &'a str
) -> Result<Vec<Oid>, GitError>

Returns a list of commits that are in a given range.

The range should be of the form <commit>..<commit> where each <commit> is in the form accepted by the git rev-parse command. The left-hand commit will be the lower bound and the right-hand commit the upper bound (both inclusive).