Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
22 lines (11 sloc) 279 Bytes


Needs: xmllint, php

All hooks are in .git/hooks

This repo is with some basic hooks

  1. post-commit-version

Count commit and print into VERSION file

  1. pre-commit-php-check

Check php files by php -l

  1. pre-commit-xml-check

Check xml|xsl|xslt files by xmllint