The coding style enforcer
Posted May 13, 2005 23:25 UTC (Fri) by roelofs
In reply to: The coding style enforcer
Parent article: The coding style enforcer
If the patch is restricted to inserting whitespace, it could be validated by stripping all whitespace out of the affected code before and after applying the patch, and making sure that the result is identical.
Or just using indent to canonicalize both "before" and "after" versions, then running diff on the two trees.
Heck, a few tweaks should allow one to use indent directly as the style-enforcement tool...
to post comments)