Quoth David Bremner on Dec 17 at 6:50 pm: > On Sat, 17 Dec 2011 11:28:15 -0400, David Bremner <david@tethera.net> wrote: > > +# > > +# sample usage: > > +# uncrustify --replace -c uncrustify.cfg foo.c > > There are several different possible workflows, here is what I have > found convenient. To simplify the example, suppose we have a single > patch, and no uncommitted changes. Not knowing anything about uncrustify, would it be possible to set up a pre-commit hook that at least rejects newly added code that doesn't fit the style?