pub fn since(root: &Path, reference: &str) -> Result<Vec<FilePath>, ChangeError>Expand description
Files changed against a git ref, including untracked ones.
Untracked files are included because a file you just created is a file you just changed, and a pre-commit check that ignored new files would miss the most likely place for a new violation.
ยงErrors
ChangeError if git is missing or the ref does not resolve.