Function hooks_pre_commit

Source
pub fn hooks_pre_commit(repo_path: &RepoPath) -> Result<HookResult>
Expand description

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