Struct git_checks::checks::BadCommits
source · pub struct BadCommits { /* private fields */ }
Expand description
Check for commits which should not be in the history.
Implementations§
source§impl BadCommits
impl BadCommits
sourcepub fn new<I>(bad_commits: I) -> Selfwhere
I: IntoIterator,
I::Item: ToString,
pub fn new<I>(bad_commits: I) -> Selfwhere
I: IntoIterator,
I::Item: ToString,
Create a new check which checks for and denies branches with the given bad commits.