lkml.org 
[lkml]   [2012]   [Jan]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH 24/29] sysctl: Replace root_list with links between sysctl_table_sets.
From
Date
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 -




\
 
 \ /
  Last update: 2012-01-31 03:15    [W:0.061 / U:6.916 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site