3.1.7. Git Hooks
The tool is located in tools/waf-tools
.
For skipping the pre-commit Git hook in certain cases, please refer to the
documentation of git commit.
(Use --no-verify
with git commit
.)
3.1.7.1. Tool Documentation
Implements a waf tool to configure a git repository to use the foxBMS specific git hooks.
- f_git_hooks.configure(conf)
Use foxBMS specific git hooks in that repository.
- f_git_hooks.options(opt)
Options to enable using the foxBMS git hooks. The hook can either be globally enabled by defining the environment variable
FOXBMS_USE_GIT_HOOKS
or passing –use-git-hooks during the configure step.