Re: [PATCH] uncrustify.cfg: initial support for notmuch coding style

Subject: Re: [PATCH] uncrustify.cfg: initial support for notmuch coding style

Date: Sat, 17 Dec 2011 18:57:33 -0500

To: David Bremner

Cc: notmuch@notmuchmail.org

From: Austin Clements


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?

Thread: