#!/bin/sh git rev-parse HEAD | awk ' # FIXME: Do this a POSIX-compatible way. @include ".git/hooks/commit-msg-files.awk" /^[a-z0-9]{40}$/ { if (! check_commit_msg_files($0)) { status = 1 } } END { if (status != 0) { print "Bad commit message; please see the file '\''CONTRIBUTE'\''" } exit status } '