[PATCH] uncrustify.cfg: initial support for notmuch coding style
David Bremner
david at tethera.net
Sat Dec 17 17:37:35 PST 2011
On Sat, 17 Dec 2011 18:57:33 -0500, Austin Clements <amdragon at MIT.EDU> wrote:
> 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?
I think that would be possible. It might take a little slightly fancy
scripting since uncrustify just outputs the indented file. Moved
code might yield false positives, and we'd probably need to find tune
the config a bit for this to be usable.
d
More information about the notmuch
mailing list