Re: git + checkpatch.pl?

From: Alexey Dobriyan
Date: Fri Nov 30 2007 - 10:23:36 EST


On 11/30/07, Kumar Gala <galak@xxxxxxxxxxxxxxxxxxx> wrote:
> Does any know if there is a way to run checkpatch.pl over the index
> before one does a commit?

Something like .git/hooks/pre-commit hook should work.

Alexey, who never used it.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/