diff options
author | Joe Perches <joe@perches.com> | 2015-06-25 15:03:05 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2015-06-25 17:00:41 -0700 |
commit | 34d8815f9512b01757e08f8101730503c87b6353 (patch) | |
tree | 1eaf8b5eff118453386622d2137c5120e5ff4c50 /virt/kvm/kvm_main.c | |
parent | 57230297116faf5b0a995916d5dd5fedab54cba3 (diff) | |
download | op-kernel-dev-34d8815f9512b01757e08f8101730503c87b6353.zip op-kernel-dev-34d8815f9512b01757e08f8101730503c87b6353.tar.gz |
checkpatch: add --showfile to allow input via pipe to show filenames
Using "git diff | ./scripts/checkpatch -" does not have an
easy mechanism to see the files and lines actually modified.
Add --showfile to see the file and line specified in the diff.
When --showfile is used without --terse, the second line of each
message output is redundant, so it is removed.
Signed-off-by: Joe Perches <joe@perches.com>
Cc: Petr Mladek <pmladek@suse.cz>
Cc: Andy Whitcroft <apw@canonical.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'virt/kvm/kvm_main.c')
0 files changed, 0 insertions, 0 deletions