The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

Changes for version 2.6.0 - 2018-02-26

  • New features
    • The plugins which were associated with the pre-commit, commit-msg, and post-commit hooks are now also associated with the pre-applypatch, applypatch-msg, and post-applypatch hooks, when is makes sense.
    • CheckLog: complains about duplicate Signed-off-by trailers in commit messages.
    • CheckReference: new option require-annotated-tag.
    • PrepareLog: new plugin associated with the prepare-commit-msg hook. For now it makes it possible to insert an issue ID in the commit message, inferring it from the current branch's name.
    • The distribution now installs a three-line script called githooks.pl which can be used as a generic driver for Git::Hooks.
  • Documentation
    • The README and Tutorials that were kept in the GitHub wiki are now internalized in the distribution as POD files.

Documentation

Modules

Framework for implementing Git (and Gerrit) hooks
Git::Hooks plugin for branch/tag access control
Git::Hooks plugin to enforce commit policies
Git::Hooks plugin for checking files
Git::Hooks plugin which requires citation of JIRA issues in commit messages
Git::Hooks plugin to enforce commit log policies
Git::Hooks plugin for checking references
Git::Hooks plugin for checking against unsafe rewrites
Git::Hooks plugin for checking whitespace errors
Git::Hooks plugin to insert a Change-Id in a commit message
Git::Hooks plugin to notify users via email
Git::Hooks plugin to prepare commit messages before being edited
Git::Hooks testing utilities
A Git commit message
A Git::Repository plugin with some goodies for hook developers