pub fn hooks_pre_commit(
    repo: &Repository,
    other_paths: Option<&[&str]>
) -> Result<HookResult, HooksError>
Expand description

this hook is documented here https://git-scm.com/docs/githooks#_pre_commit