Function git2_hooks::hooks_pre_commit

source ยท
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