Return-Path: Delivered-To: apmail-apr-dev-archive@www.apache.org Received: (qmail 53878 invoked from network); 14 Jan 2005 17:11:35 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 14 Jan 2005 17:11:35 -0000 Received: (qmail 63815 invoked by uid 500); 14 Jan 2005 17:11:33 -0000 Delivered-To: apmail-apr-dev-archive@apr.apache.org Received: (qmail 63784 invoked by uid 500); 14 Jan 2005 17:11:33 -0000 Mailing-List: contact dev-help@apr.apache.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: Delivered-To: mailing list dev@apr.apache.org Received: (qmail 63769 invoked by uid 99); 14 Jan 2005 17:11:33 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: neutral (hermes.apache.org: local policy) Received: from scotch.ics.uci.edu (HELO scotch.ics.uci.edu) (128.195.24.168) by apache.org (qpsmtpd/0.28) with ESMTP; Fri, 14 Jan 2005 09:11:31 -0800 Received: from scotch.ics.uci.edu (localhost [127.0.0.1]) by scotch.ics.uci.edu (8.12.11/8.12.11) with ESMTP id j0EHBE0V029370 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NO); Fri, 14 Jan 2005 09:11:14 -0800 (PST) Received: (from jerenk@localhost) by scotch.ics.uci.edu (8.12.6/8.12.6/Submit) id j0EHBEGj029369; Fri, 14 Jan 2005 09:11:14 -0800 (PST) X-Authentication-Warning: scotch.ics.uci.edu: jerenk set sender to justin@erenkrantz.com using -f Date: Fri, 14 Jan 2005 09:11:14 -0800 From: Justin Erenkrantz To: Colm MacCarthaigh Cc: Julian Foad , dev@apr.apache.org Subject: Re: Whitespace and patches WAS Re: [Patch] SSM support for multicast.c Message-ID: <20050114171114.GG12871@scotch.ics.uci.edu> Mail-Followup-To: Justin Erenkrantz , Colm MacCarthaigh , Julian Foad , dev@apr.apache.org References: <20050104145319.GA22784@castlerea.stdlib.net.> <41E41A35.1060907@btopenworld.com> <20050111231924.GA32246@castlerea.stdlib.net.> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20050111231924.GA32246@castlerea.stdlib.net.> User-Agent: Mutt/1.5.6i X-Spam-Status: No, score=-2.8 required=5.0 tests=ALL_TRUSTED autolearn=failed version=3.1.0-r105955 X-Spam-Checker-Version: SpamAssassin 3.1.0-r105955 (2004-11-20) on scotch.ics.uci.edu X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N On Tue, Jan 11, 2005 at 11:19:25PM +0000, Colm MacCarthaigh wrote: > But anyway, which is worse? > > 1. Submitting patches that are broken (or at best semi-broken) > style-wise. > > 2. Submitting patches with some whitespace fixes in-line > (like the one I submitted). > > 3. Checking first, to see if it's style-compliant, running > the indenter/whatever, producing a pure whitespace patch, > adding whatever code and then producing that patch and > submitting both. > > I realise there's secret option 4 - just code in the Apache style - is > the ideal-case but honestly I just can't productively cope with 4-space > indents ;) Doing so usually causes me to take 10 times as long and make > twice as many non-style errors. As Julian implied, #3 is okay. #4 is best. #1 or #2 aren't going to be accepted for the most part. -- justin