Peter Maydell <peter.mayd...@linaro.org> writes:

> On 21 January 2013 16:48, Anthony Liguori <aligu...@us.ibm.com> wrote:
>> This makes it easier to use checkpatch with a git hook or via patches.
>
> Any chance of a note in the comments about how to actually hook
> it up to a git hook or patches? ie something like
>
> # This script is intended to be used to allow checkpatch to
> # be automatically run from a git hook or via the 'patches'
> # tool [see http://link to download patches/], like this:
> #
> # [insert brief summary of how to hook it up here]

That was sort of a theoritical statement.  Normally you would use a
pre-hook to do this and just use a git diff.  I assume you can use a
post-receive hook with this script but I'm not sure that's relevant to
anyone other than me.

Regards,

Anthony Liguori

>
> thanks
> -- PMM


Reply via email to