captainhook
captainhook copied to clipboard
CaptainHook is a very flexible git hook manager for software developers that makes sharing git hooks with your team a breeze.
@renky @ktomk STAGED_FILES are empty in a 'commit -a -m' call if you didn't add anything before.... But nevertheless I'd like to check them in a 'commit -a -m' call...
In the recent updated, the hook "Exists" was introduced which from looking at the comment in the hook itself, it checks if given files are included/exist. In our tests, we...
There is some edge case scenario, that happens sometimes in our organisation: - Install Captain Hook and its hooks - `vendor/bin/captainhook` is created, `vendor/captainhook/captainhook` is available, everything works in Git...
Currently if I type a commit message and it is rejected, then I have to commit again, and re-type everything (which could have been a significant amount of code). Would...
In some companies, or communities, code rules are detailed in custom documentation. For example, in my compani, we have a comprehensive code style redacted and hosted in our internal wiki....
when running in docker mode, every hook has to spawn a new container, even if the corresponding captain hook is disabled. This is not a big issue, but in scenarios...
This PR adds 3 new hook command options: * `--list-actions` * `--action` * `--disable-plugins` ## --list-actions This option allows you to list all the configured actions for a given hook:...
I configured captainhook and I get an error with the configuration path.  This is due to the wrong path:  The right path for me: **/api/captainhook.json** (with slash) but...
### Issue / Use Case Some developers in our company are using WSL but are using git from a windows context (e.g. by using git ui clients like SourceTree, TortoiseGit...
## Use Case Developers often use pre-commit hooks to run style-checkers that automatically fix style issues and add them to the staged commit before committing. This is problematic when the...