Re: [RFC] Add basic syntax check on shell scripts
- From
Nguyen Thai Ngoc Duy <pclouds@gmail.com>
- Date
- Dec 5, 2012, 05:43 UTC
- Message-ID
- <CACsJy8BtX9fMkGDoVGKzgz7SSinbt0561B1ZKHu6fs+n8ewKGg@mail.gmail.com>
- In-Reply-To
- <7vobi9mwt4.fsf@alter.siamese.dyndns.org>
On Wed, Dec 5, 2012 at 2:39 AM, Junio C Hamano <gitster@pobox.com> 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