diff options
author | Du, Changbin <changbin.du@intel.com> | 2016-05-21 02:04:16 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2016-05-21 02:58:30 +0200 |
commit | 4a593c3448312906358b00898c29a95278d82cc9 (patch) | |
tree | a478f1312424b230f2dd1702b96597a9194c94aa /lib/locking-selftest-mutex.h | |
parent | checkpatch: add --list-types to show message types to show or ignore (diff) | |
download | linux-4a593c3448312906358b00898c29a95278d82cc9.tar.xz linux-4a593c3448312906358b00898c29a95278d82cc9.zip |
checkpatch: add support to check already applied git commits
It's sometimes useful to scan already committed patches.
Add --git <revision range> to scan specific or multiple commits.
Single commits are scanned with
--git <rev>
Multiple commits are scanned with
--git <range>
--git <commit>-<count>
[joe@perches.com:
o Don't exec git for each <commit>-<count>,
use a single "git log -<count> <commit>"
o Consolidate the git exec for the <range> and <commit>-<count> variants
o Output 12 character commit hash ids
o Don't scan git commit merges
o Use -M to reduce the size of rename commits]
Signed-off-by: "Du, Changbin" <changbin.du@intel.com>
Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'lib/locking-selftest-mutex.h')
0 files changed, 0 insertions, 0 deletions