From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from localhost (localhost [127.0.0.1]) by olra.theworths.org (Postfix) with ESMTP id 55F87431FD0 for ; Sat, 17 Dec 2011 15:56:17 -0800 (PST) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org X-Spam-Flag: NO X-Spam-Score: -0.7 X-Spam-Level: X-Spam-Status: No, score=-0.7 tagged_above=-999 required=5 tests=[RCVD_IN_DNSWL_LOW=-0.7] autolearn=disabled Received: from olra.theworths.org ([127.0.0.1]) by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id GxAU6wJ45mru for ; Sat, 17 Dec 2011 15:56:16 -0800 (PST) Received: from dmz-mailsec-scanner-7.mit.edu (DMZ-MAILSEC-SCANNER-7.MIT.EDU [18.7.68.36]) by olra.theworths.org (Postfix) with ESMTP id B9EFA431FB6 for ; Sat, 17 Dec 2011 15:56:16 -0800 (PST) X-AuditID: 12074424-b7fae6d000000906-af-4eed2c2059ae Received: from mailhub-auth-4.mit.edu ( [18.7.62.39]) by dmz-mailsec-scanner-7.mit.edu (Symantec Messaging Gateway) with SMTP id 34.24.02310.02C2DEE4; Sat, 17 Dec 2011 18:56:16 -0500 (EST) Received: from outgoing.mit.edu (OUTGOING-AUTH.MIT.EDU [18.7.22.103]) by mailhub-auth-4.mit.edu (8.13.8/8.9.2) with ESMTP id pBHNuGLZ021999; Sat, 17 Dec 2011 18:56:16 -0500 Received: from awakening.csail.mit.edu (awakening.csail.mit.edu [18.26.4.91]) (authenticated bits=0) (User authenticated as amdragon@ATHENA.MIT.EDU) by outgoing.mit.edu (8.13.6/8.12.4) with ESMTP id pBHNuE7x002757 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=NOT); Sat, 17 Dec 2011 18:56:15 -0500 (EST) Received: from amthrax by awakening.csail.mit.edu with local (Exim 4.77) (envelope-from ) id 1Rc48D-0007JE-Uc; Sat, 17 Dec 2011 18:57:33 -0500 Date: Sat, 17 Dec 2011 18:57:33 -0500 From: Austin Clements To: David Bremner Subject: Re: [PATCH] uncrustify.cfg: initial support for notmuch coding style Message-ID: <20111217235733.GK19427@mit.edu> References: <1324135695-15487-1-git-send-email-david@tethera.net> <87aa6qdd99.fsf@zancas.localnet> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <87aa6qdd99.fsf@zancas.localnet> User-Agent: Mutt/1.5.21 (2010-09-15) X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFmpileLIzCtJLcpLzFFi42IRYrdT11XQeetnMH+yiMWN1m5Gi+s3ZzI7 MHk8W3WL2WPLoffMAUxRXDYpqTmZZalF+nYJXBmf9ixjK1jPUtHR18HawLiDuYuRg0NCwERi 2xTFLkZOIFNM4sK99WxdjFwcQgL7GCU+HZgB5WxglFhy/A6Uc5JJ4tKSjUwQzhJGiZXnLzOC 9LMIqEp8PX6MFcRmE9CQ2LZ/OVhcBCh+ddtkNhCbWUBa4tvvZiYQW1jAV+LOkw1gNbwCOhJd s7eCxYUEUiR2zDnJDBEXlDg58wkLRK+WxI1/L5lAzgaZs/wfB4jJKaAr8fKQN0iFqICKxJST 29gmMArNQtI8C0nzLITmBYzMqxhlU3KrdHMTM3OKU5N1i5MT8/JSi3TN9XIzS/RSU0o3MYKD 2kVlB2PzIaVDjAIcjEo8vJnVr/2EWBPLiitzDzFKcjApifL6aL/1E+JLyk+pzEgszogvKs1J LT7EKMHBrCTCqxb+xk+INyWxsiq1KB8mJc3BoiTO27DroZ+QQHpiSWp2ampBahFMVoaDQ0mC Vx5kqGBRanpqRVpmTglCmomDE2Q4D9BwR5Aa3uKCxNzizHSI/ClGRSlxXj2QhABIIqM0D64X lnReMYoDvSLMawVSxQNMWHDdr4AGMwEN7gsEubq4JBEhJdXA6PMn//+Wou02OYw73ffznX7x 1euUvjGP1r/2xzn/53udar19NcHB9fPvyfuKUg+5BnFJnOGcGhTytKZIfGGBPJ9m6ivrk3d+ v1k9Mas3JeDw2f210qb+c05bf2bfUpRxVK0iYFpYnZPzlKfxm/3+ftokEyLDfL/uq+/96mK+ SoV3prfO15/9oMRSnJFoqMVcVJwIAEgsATgVAwAA Cc: notmuch@notmuchmail.org X-BeenThere: notmuch@notmuchmail.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: "Use and development of the notmuch mail system." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 17 Dec 2011 23:56:17 -0000 Quoth David Bremner on Dec 17 at 6:50 pm: > On Sat, 17 Dec 2011 11:28:15 -0400, David Bremner 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?