lkml.org 
[lkml]   [2013]   [May]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] perf: fix symbol processing bug and greatly improve performance
On 5/9/13 8:46 AM, Waiman Long wrote:
> I am sorry that I forgot to rerun checkpatch.pl again after changing the
> argument type from int to bool.

You can edit/create .git/hooks/pre-commit and have it run checkpatch.pl
so you don't forget:

#!/bin/bash
exec git diff --cached | scripts/checkpatch.pl --no-signoff -q -

If it spits out warnings that are ok, add -n to git-commit to bypass.

David



\
 
 \ /
  Last update: 2013-05-09 17:41    [W:0.072 / U:0.052 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site