Re: [dpdk-dev] [PATCH v1] scripts: make checkpatch cleaner for renamed files

2017-02-21 Thread Thomas Monjalon
2017-02-20 11:16, Bruce Richardson: > On Mon, Feb 20, 2017 at 04:08:33AM +, David Hunt wrote: > > 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

Re: [dpdk-dev] [PATCH v1] scripts: make checkpatch cleaner for renamed files

2017-02-20 Thread Bruce Richardson
On Mon, Feb 20, 2017 at 04:08:33AM +, David Hunt wrote: > 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

[dpdk-dev] [PATCH v1] scripts: make checkpatch cleaner for renamed files

2017-02-20 Thread David Hunt
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 --