<div dir="ltr">Maybe a little off topic, but has anyone looked at "Artistic Style" (<a href="http://astyle.sourceforge.net/astyle.html">http://astyle.sourceforge.net/astyle.html</a>).<div><br></div><div>Seems like a project especially designed for changing formatting.</div><div><br></div><div>Utkarsh<br><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Jul 1, 2016 at 9:49 AM, Bill Lorensen <span dir="ltr"><<a href="mailto:bill.lorensen@gmail.com" target="_blank">bill.lorensen@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex">Once the files are changed, I suggest that a KWStyle expert<br>
<a href="https://kitware.github.io/KWStyle/" rel="noreferrer" target="_blank">https://kitware.github.io/KWStyle/</a> take a stab at creating a VTK style<br>
file. That way we can enforce the style in the future. We use it in<br>
ITK and it is very effective, although it can take some effort to<br>
correct all of the existing defects.<br>
<div class=""><div class="h5"><br>
<br>
On Fri, Jul 1, 2016 at 9:23 AM, Ben Boeckel <<a href="mailto:ben.boeckel@kitware.com">ben.boeckel@kitware.com</a>> wrote:<br>
> On Thu, Jun 30, 2016 at 17:09:18 -0600, David Gobbi wrote:<br>
>> The scripts just modify the VTK source files. They don't call any git<br>
>> commands so I don't think they can, by themselves, be idempotent.  Do you<br>
>> have any insights into what we can do to avoid conflicts?<br>
><br>
> A function f is idempotent iff f(f(x)) == f(x). If the formatter is<br>
> idempotent, it can be safely run over any branch during a rebase to make<br>
> it not add any style violations.<br>
><br>
> --Ben<br>
> _______________________________________________<br>
> Powered by <a href="http://www.kitware.com" rel="noreferrer" target="_blank">www.kitware.com</a><br>
><br>
> Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" rel="noreferrer" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
><br>
> Search the list archives at: <a href="http://markmail.org/search/?q=vtk-developers" rel="noreferrer" target="_blank">http://markmail.org/search/?q=vtk-developers</a><br>
><br>
> Follow this link to subscribe/unsubscribe:<br>
> <a href="http://public.kitware.com/mailman/listinfo/vtk-developers" rel="noreferrer" target="_blank">http://public.kitware.com/mailman/listinfo/vtk-developers</a><br>
><br>
<br>
<br>
<br>
</div></div><span class="im">--<br>
Unpaid intern in BillsBasement at noware dot com<br>
</span><div class=""><div class="h5">_______________________________________________<br>
Powered by <a href="http://www.kitware.com" rel="noreferrer" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" rel="noreferrer" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Search the list archives at: <a href="http://markmail.org/search/?q=vtk-developers" rel="noreferrer" target="_blank">http://markmail.org/search/?q=vtk-developers</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://public.kitware.com/mailman/listinfo/vtk-developers" rel="noreferrer" target="_blank">http://public.kitware.com/mailman/listinfo/vtk-developers</a><br>
<br>
</div></div></blockquote></div><br></div></div></div>