[Paraview-developers] [kwrobot] New `Do: reformat` command

Ben Boeckel ben.boeckel at kitware.com
Wed Mar 22 11:26:58 EDT 2017


Hi,

The kwrobot can now automatically fix the `clang-format` errors detected
for your MRs. Developers can run it on any MR and the submitter of an MR
can run it on their own MRs as well. Note that this will push right back
to your source branch, so you will need to fetch from your fork to sync
up with the reformatted branch.

This may be done by using the new command:

    Do: reformat

The topology of your MR is untouched, so merges and the like are
preserved. If non-merge commits are found to be empty after a reformat
(and not empty before reformatting), they are removed from the history
since it is assumed they were "make the formatting checks pass" commits
(dropped commits will be mentioned if it happens since it really is just
a heuristic).

--Ben


More information about the Paraview-developers mailing list