]> code.delx.au - gnu-emacs/commit
Port commit-message checking to FreeBSD 9.
authorPaul Eggert <eggert@cs.ucla.edu>
Mon, 8 Dec 2014 00:17:20 +0000 (16:17 -0800)
committerPaul Eggert <eggert@cs.ucla.edu>
Mon, 8 Dec 2014 00:18:38 +0000 (16:18 -0800)
commit0f9fbb922cb029b0c36805d260a5db28e25d3dd1
tree97d33f04ece6777c4e4ed2b1893735d93a63da7c
parent3db1adacc654f33ee8d5c515214c9d5325ee7fc1
Port commit-message checking to FreeBSD 9.

This fixes a bug reported by Jan Djärv in:
http://lists.gnu.org/archive/html/emacs-devel/2014-12/msg00704.html
along with some other issues I noticed while testing with FreeBSD.
* build-aux/git-hooks/commit-msg: Prefer gawk if available.
Prefer en_US.UTF-8 to en_US.utf8, as it's more portable.
Work around bug in FreeBSD 9 awk, where /[[:cntrl:]]/ matches
ordinary text characters.
Be less tricky about quoting "'" in a shell script.
ChangeLog
build-aux/git-hooks/commit-msg