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

Changes for version 1.7.0 - 2015-04-22

  • New features
    • CheckFile: New githooks.checkfile.size option imposes a limit to the maximum size of files added to the repository.
    • New function Git::More::get_sha1 returns the SHA1 associated with a revision expression.
    • Git::More::get_commit(s) functions return information about commit signatures.
  • Changes
    • CheckLog plugin error messages now show the full SHA1 of commits instead of a 7-letter prefix to avoid potential ambiguities.
  • Fixes
    • CheckLog: The githooks.checklog.title-required option when false was disabling all other title checks.
    • Git::More::get_commit(s) functions now UTF-8 encode its results.
    • Git::More::get_commit(s) functions were returning a hash with the wrong key 'commmitter_name'.
  • Internal changes
    • Git::More::get_commit(s) functions now cache results avoiding repeated invocations of git-rev-list for different plugins.

Documentation

Ideas for future versions of Git::Hooks
Gentle tutorial for Git::Hooks users and Git administrators

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