]> code.delx.au - gnu-emacs/commit
Improve the commit-msg Git hook for unibyte environments
authorEli Zaretskii <eliz@gnu.org>
Tue, 14 Apr 2015 18:57:23 +0000 (21:57 +0300)
committerEli Zaretskii <eliz@gnu.org>
Tue, 14 Apr 2015 18:57:23 +0000 (21:57 +0300)
commit95cee7f6a6c9332296e386ca6e6fcce3141e5d13
treeb8be0617b508b2868d0892cddb8a7b6bd945822d
parent807a0e98f00057ae9d60ecafb5b8c0c98bc4cdb5
Improve the commit-msg Git hook for unibyte environments

* build-aux/git-hooks/commit-msg: Set LC_ALL=C, before running Awk
in unibyte environments.  (Suggested by Paul Eggert
<eggert@cs.ucla.edu>.)  Use a more accurate approximation to
[:print:], based on UTF-8 sequences of the unprintable characters.
build-aux/git-hooks/commit-msg