[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: .git/hooks/commit-msg

From: Paul Eggert
Subject: Re: .git/hooks/commit-msg
Date: Sun, 07 Dec 2014 17:14:29 -0800
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.3.0

Jan D. wrote:
It keeps complaining about control caracter, even if there are none....
Does it assume GNU awk?

No, it assumes only POSIX awk. However, it turns out that FreeBSD awk is buggy here; see FreeBSD bug#195792 <http://bugs.freebsd.org/195792>.

I worked around the FreeBSD bug by installing the attached patch to the emacs-24 branch; this should be merged into the Emacs master in due course. After applying the patch, you can run './autogen.sh' to propagate the fix into your .git/hooks/commit-msg.

Attachment: 0001-Port-commit-message-checking-to-FreeBSD-9.patch
Description: Text Data

reply via email to

[Prev in Thread] Current Thread [Next in Thread]