pub fn hooks_pre_commit(repo: &Repository) -> Result<HookResult, HooksError>
Expand description

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