[vtk-developers] PROPOSAL: Changing VTK's indentation style

Ben Boeckel ben.boeckel at kitware.com
Thu Sep 10 21:16:10 EDT 2015


On Fri, Sep 11, 2015 at 10:13:37 +1000, Andrew Maclean wrote:
> 2) git blame needs to be able to cope with the changes.

git blame can be told to ignore whitespace-only changes to a line (-w).

> 3) The git hooks need changing.

In what way? We've never enforced brace-style using hooks. Or at least
we don't now.

> 4) All the existing code needs to be retroformatted. Presumably you will
> write a script to do this. It would be a good idea to add this script
> (python?) to Utilities so that the Slicer people and others can easily
> reformat their code if so desired.

Yeah, committing the tool would be good.

--Ben


More information about the vtk-developers mailing list