The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

Changes for version 1.6.1 - 2015-01-07

  • Fixes
    • Fix Git::More::get_affected_ref_commit_ids for newly created refs. When a new ref is pushed it's old commit is represented by the null id ('0'x40'), which the git-rev-list command doesn't like. So, instead of invoking git-rev-list directly, get_affected_ref_commit_ids invokes get_affected_ref_commits which already knows how to deal with these edge cases. Moreover, get_affected_ref_commits caches the results of git-rev-list, making it possible to reuse it in different hooks.

Documentation

Modules

Framework for implementing Git (and Gerrit) hooks
Git::Hooks plugin for branch/tag access control.
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 against unsafe rewrites
Git::Hooks plugin for ref/file structure validation.
Git::Hooks plugin for checking whitespace errors
Git::Hooks plugin to insert a Change-Id in a commit message.
A Git extension with some goodies for hook developers.
A Git commit message