captainhook icon indicating copy to clipboard operation
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.

Results 25 captainhook issues
Sort by recently updated
recently updated
newest added

@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...

bug

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...

question

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...

feature request

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....

good first issue
feature request

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...

feature request

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. ![изображение](https://user-images.githubusercontent.com/5681979/118530890-db078500-b74d-11eb-9aa8-046c1088269e.png) This is due to the wrong path: ![изображение](https://user-images.githubusercontent.com/5681979/118531078-17d37c00-b74e-11eb-9e6b-9ce9839b8f67.png) The right path for me: **/api/captainhook.json** (with slash) but...

feature request

### 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...

good first issue
feature request

## 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...