Function git2_hooks::hooks_pre_commit
source · 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
pub fn hooks_pre_commit(repo: &Repository) -> Result<HookResult, HooksError>
this hook is documented here https://git-scm.com/docs/githooks#_pre_commit