From: Nguyen Thai Ngoc Duy Date: Wed, 05 Dec 2012 05:43:30 GMT Subject: Re: [RFC] Add basic syntax check on shell scripts Message-ID: In-Reply-To: <7vobi9mwt4.fsf@alter.siamese.dyndns.org> On Wed, Dec 5, 2012 at 2:39 AM, Junio C Hamano wrote: >> Or a project commit hook? > > Surely. It is OK to have "cd t && make test-lint" in your > pre-commit hook. No, what I meant is a shared pre-commit script that all git devs are encouraged (or forced) to install so bugs are found locally rather than after patches are sent to you. The hook content does not really matter. -- Duy