adrienthebo/puppet-git-hooks — pull request #6 by apowers (2013-04-25 23:45:42+00:00)
Title: better branchname checking

Since a dash is not a word character [\W] isn't doing what you think it does. This patch uses git's own ref format check to validate the branch name.