devtools: make checkpatch cleaner for renamed files
authorDavid Hunt <david.hunt@intel.com>
Mon, 20 Feb 2017 04:08:33 +0000 (04:08 +0000)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Tue, 21 Feb 2017 11:24:11 +0000 (12:24 +0100)
commit3ef24b3d35d732c18ea3d68b30979506bfb1320e
tree5323885efef5d3c56f932041f8666e09185c2ffc
parent93092a56101b5ce10679004d07ce434a0eabcd97
devtools: make checkpatch cleaner for renamed files

When a file is renamed, a normal diff will include all the code of
the renamed file, and checkpatch will find warnings and errors,
even though it's just a rename.

This change will result in a 'rename' line in the diff, resulting
in a much cleaner checkpatches result.

Signed-off-by: David Hunt <david.hunt@intel.com>
Acked-by: Bruce Richardson <bruce.richardson@intel.com>
devtools/checkpatches.sh