pub fn keep_indices<'a>(
metas: impl IntoIterator<Item = &'a CommitMeta>,
authors: &[Regex],
since: Option<i64>,
until: Option<i64>,
) -> Vec<usize>Expand description
Indices of the commits to keep after author and date filtering.
A commit is kept when it matches at least one author pattern (or there are
none) and its committer time lies within [since, until] (each bound
optional). Mirrors git log --author/--since/--until.