Changes for version v1.9.0 - 2017-03-19

  • Added min_app_githooks_version config option to allow enforcing a minimum version of App::GitHooks against a repository (GH-28). Thank you, Lisa Hare!
  • Added GITHOOKS_SKIP and GITHOOKS_DISABLE environment variables to hard-skip specific hooks (GH-6). Thank you, E. Choroba!

Documentation

Setup utility for App::GitHooks
Call App::GitHooks for the applypatch-msg hook.
Call App::GitHooks for the commit-msg hook.
Call App::GitHooks for the post-applypatch hook.
Call App::GitHooks for the post-checkout hook.
Call App::GitHooks for the post-commit hook.
Call App::GitHooks for the post-merge hook.
Call App::GitHooks for the post-receive hook.
Call App::GitHooks for the post-rewrite hook.
Call App::GitHooks for the post-update hook.
Call App::GitHooks for the pre-applypatch hook.
Call App::GitHooks for the pre-auto-gc hook.
Call App::GitHooks for the pre-commit hook.
Call App::GitHooks for the pre-push hook.
Call App::GitHooks for the pre-rebase hook.
Call App::GitHooks for the pre-receive hook.
Call App::GitHooks for the prepare-commit-msg hook.
Call App::GitHooks for the update hook.

Modules

Extensible plugins system for git hooks.
A git commit message.
Configuration manager for App::GitHooks.
Constants used by various modules in the App::GitHooks namespace.
Base class for all git hook handlers.
Handle the applypatch-msg hook.
Handle the commit-msg hook.
Handle the post-applypatch hook.
Handle the post-checkout hook.
Handle the post-commit hook.
Handle the post-merge hook.
Handle the post-receive hook.
Handle the post-rewrite hook.
Handle the post-update hook.
Handle the pre-applypatch hook.
Handle the pre-auto-gc hook.
Handler for pre-commit hook.
Handle the pre-push hook.
Handle the pre-rebase hook.
Handle the pre-receive hook.
Handler for commit-msg hook.
Handle the update hook.
Base class for plugins.
A test plugin that allows specifying the return code.
A test plugin that allows printing a specific string to STDERR.
Staged changes in git.
Information about the current terminal in which App::GitHook is running.
Shared test functions for App::GitHooks.
Support functions for App::GitHooks and its plugins.