[<prev] [next>] [day] [month] [year] [list]
Message-ID: <20111025134906.GD9887@mwanda>
Date: Tue, 25 Oct 2011 16:49:06 +0300
From: Dan Carpenter <dan.carpenter@...cle.com>
To: linux-kernel@...r.kernel.org
Subject: rename_rev.pl (script for reviewing refactoring patches)
This is a script for reviewing refactorying patches. It the goal is
to remove all the non-code changes and leave the interesting bits.
It has options to modify all the new lines or all the lines in the
diff. For example, if someone sends a patch to make functions static
then you can do:
cat patch.txt | rename_rev.pl -ea 's/static //'
and hopefully it looks like the patch doesn't do anything.
This version fixes a bug where if you reordered a line of code but
don't make any other changes, it was ignored. Obviously that should
show up as an interesting change.
regards,
dan carpenter
View attachment "rename_rev.pl" of type "text/x-perl" (3299 bytes)
Download attachment "signature.asc" of type "application/pgp-signature" (837 bytes)
Powered by blists - more mailing lists