in reply to perltidy block indentation
I worked with a team for a while which brought in a “tidy” function, and it was very quickly a version-control train wreck: the filter made countless “little” changes to the source-code, triggering what the VCS saw to be a massive-change commit, whereas the code had not “changed.” The VCS wasn’t language aware, and offhand I don’t know of one that is.
The team switched to using PerlTidy as an Eclipse plug-in but only on new code, and even that really did not last long. (The plug-in could tidy-up a highlighted block, which was nice.) Once people got the hang of writing “tidy” code, they simply did it themselves for their new patches and so-forth.
In the name of version-control continuity, there were two three house-rules: