On Thu, 29 Oct 2009, Mononen Jussi wrote:
What about adding a git commit-hook that would run a code formatter? Everyone could use their own style and the repo would still contain a uniform style.
I'm not a fan of that approach. * Indent rules are often overrideen when it makes sense for specific pieces of code. * Automatic indenters sometimes have bugs. * It's annoying to have code look different in your editor than what ends up in the source code repo, as I then have to reformat it on every checkout update as well and then how do I do diffs etc? -- / daniel.haxx.se _______________________________________________ libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel
