From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andreas Ericsson Subject: Re: the war on trailing whitespace Date: Mon, 27 Feb 2006 15:10:55 +0100 Message-ID: <4403086F.5040704@op5.se> References: <7v1wxq7psj.fsf@assigned-by-dhcp.cox.net> <20060225210712.29b30f59.akpm@osdl.org> <20060226103604.2d97696c.akpm@osdl.org> <20060226202617.GH7851@redhat.com> <1141008633.7593.13.camel@homer> <94fc236b0602270326s3079d737l102d5728d59f0c98@mail.gmail.com> <4402E56D.4010606@op5.se> <20060227133124.GA8794@informatik.uni-freiburg.de> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit Cc: git@vger.kernel.org X-From: git-owner@vger.kernel.org Mon Feb 27 15:11:37 2006 Return-path: Envelope-to: gcvg-git@gmane.org Received: from vger.kernel.org ([209.132.176.167]) by ciao.gmane.org with esmtp (Exim 4.43) id 1FDj66-0003bi-Lm for gcvg-git@gmane.org; Mon, 27 Feb 2006 15:11:35 +0100 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751243AbWB0OK5 (ORCPT ); Mon, 27 Feb 2006 09:10:57 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751239AbWB0OK5 (ORCPT ); Mon, 27 Feb 2006 09:10:57 -0500 Received: from linux-server1.op5.se ([193.201.96.2]:54960 "EHLO smtp-gw1.op5.se") by vger.kernel.org with ESMTP id S1751243AbWB0OK4 (ORCPT ); Mon, 27 Feb 2006 09:10:56 -0500 Received: from [192.168.1.20] (host-213.88.215.14.addr.se.sn.net [213.88.215.14]) by smtp-gw1.op5.se (Postfix) with ESMTP id 7D63B6BD10; Mon, 27 Feb 2006 15:10:55 +0100 (CET) User-Agent: Mozilla Thunderbird 1.0.7-1.1.fc4 (X11/20050929) X-Accept-Language: en-us, en To: Uwe Zeisberger In-Reply-To: <20060227133124.GA8794@informatik.uni-freiburg.de> Sender: git-owner@vger.kernel.org Precedence: bulk X-Mailing-List: git@vger.kernel.org Archived-At: Uwe Zeisberger wrote: > Hello, > > Andreas Ericsson wrote: > >>I think the question is whether completely empty lines are also ignored >>by Python, or if they start a new block of code. Whatever the case, it >>must hold true for both 2.3 and 2.4. > > see > http://www.python.org/doc/2.2.3/ref/blank-lines.html > http://www.python.org/doc/2.3.5/ref/blank-lines.html > http://www.python.org/doc/2.4.2/ref/blank-lines.html > So in essence, a multi-line statement is closed when a completely empty line is found, which means that making git internals recognize and strip such lines will result in Python code never being manageable by git. -- Andreas Ericsson andreas.ericsson@op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231