Re: [PATCH 24/29] sysctl: Replace root_list with links betweensysctl_table_sets.

From: Joe Perches
Date: Mon Jan 30 2012 - 21:13:44 EST


On Mon, 2012-01-30 at 18:11 -0800, Eric W. Biederman wrote:
> Is there a way to tie checkpatch into git. Perhaps into git commit?

$ git log --format=email -p -1 $commit | \
./scripts/checkpatch.pl -

or maybe a front-end script prior to git commit

$ git diff --stat -p <paths> | \
./scripts.checkpatch.pl -


--
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/