[vtk-developers] PROPOSAL: Changing VTK's indentation style
Andrew Maclean
andrew.amaclean at gmail.com
Thu Sep 10 22:37:45 EDT 2015
Sorry I thought you did enforce the brace style using hooks ( I hadn't
looked), if so then it is even easier!
On Fri, Sep 11, 2015 at 11:16 AM, Ben Boeckel <ben.boeckel at kitware.com>
wrote:
> 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
>
--
___________________________________________
Andrew J. P. Maclean
___________________________________________
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtk-developers/attachments/20150911/77e1b218/attachment.html>
More information about the vtk-developers
mailing list