Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 84EFF200AE3 for ; Thu, 5 May 2016 05:00:58 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 836591609FF; Thu, 5 May 2016 03:00:58 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id CA8B81609FC for ; Thu, 5 May 2016 05:00:57 +0200 (CEST) Received: (qmail 81687 invoked by uid 500); 5 May 2016 03:00:56 -0000 Mailing-List: contact users-help@subversion.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list users@subversion.apache.org Received: (qmail 81677 invoked by uid 99); 5 May 2016 03:00:56 -0000 Received: from mail-relay.apache.org (HELO mail-relay.apache.org) (140.211.11.15) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 05 May 2016 03:00:56 +0000 Received: from zulu.23.e-reka.si (89-233-126-4.dynamic.t-2.net [89.233.126.4]) by mail-relay.apache.org (ASF Mail Server at mail-relay.apache.org) with ESMTPSA id E4B2F1A00E0 for ; Thu, 5 May 2016 03:00:55 +0000 (UTC) Subject: Re: Blank lines To: users@subversion.apache.org References: <572A268D.2060801@tibco.com> <20160504205839.GA17180@tarsus.local2> From: =?UTF-8?Q?Branko_=c4=8cibej?= Organization: The Apache Software Foundation Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAAXNSR0IArs4c6QAAADBQTFRF IhsbCy0qZjoVOVRoeFxSAIKBzXQiAKaibYiewnk7nn9z0qCTgL3i87Ep6Kx/+tHBsrE+zgAAAjZJ REFUOMvF0jFoE1EYB/CzjWlqIzaTjqVIBifRRWyG0t5iUqlLyFpCeXBgKg5yq6A4degUDJjoUDpc 1Qt4Ux94B11SOLB0KGS4discpbkORTCn9/m9d3fvLhXnvuHu3f+Xx/veyyfZfLSdZHzgicSfeyw4 JISwdz8FT6M8lM8Ceg385Dlhs+cC9sQCDn0B78QCogzwN+sxfHGOIXBbRGkNAM4cZymGtgNsDPgz cByxon3EEm1TLmvAlghoHOO3CZSa+IQ/vF6JV8tgKOMow78gRgL2/+EIvATOUtB3SSdMg4GXgrbn uk0uLiGdoCHKbX4E+t1FUTqn1AtIdPJebssDQ64YANSQyyaQNyUOFs0ijMsMFnOPTahPLXKYowtY 08MfCP7vR7hRnc5zmPK7CDYYbHcbC7tHuyFA94U/1LYZaJpu/sxACHMwvwZljTLY0TbNk4x+zuEt yC3MfCM6uSIvfwur0itFL4FA2Yal8BzLfnYV4EIGwEPAk7o5zIcnvzHMEjwJrrhAKK7on6IrsfRJ 7A53BhaK+CL7fj6+q/sPeOvcDTtoZTxpUYsFeIknrOXep3p3l7Ua+8sZ5FPQKyKwWi+DfROTU7ny C1/9UhpeY7K287WJCzbsNPQm2S6Yk4PSCNhWM2r3nD0K9liYb6yPgCRJhSzPrxUK0yUBVk1VX0lj s7MzGZyp0wImMK/e8rHbz2soL+O+2r1dxfGsAmBcx0lNjS/RUhlUC7gRn1wGMdQ7Vw1/AReW/RN3 xFWdAAAAAElFTkSuQmCC Message-ID: <572AB776.7040302@apache.org> Date: Thu, 5 May 2016 05:01:10 +0200 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:38.0) Gecko/20100101 Thunderbird/38.7.2 MIME-Version: 1.0 In-Reply-To: <20160504205839.GA17180@tarsus.local2> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit archived-at: Thu, 05 May 2016 03:00:58 -0000 On 04.05.2016 22:58, Daniel Shahaf wrote: > Eric Johnson wrote on Wed, May 04, 2016 at 09:42:53 -0700: >> On 5/4/16 4:43 AM, Dariusz Staniak wrote: >>> How can I force >>> svn status >>> not to indicate files with added/removed blank lines as modified? >> You can't. Subversion has to treat all changes to files as relevant. >> Consider something like Markdown - an extra blank line means a paragraph >> break. In code, where inserting a blank line might help readability. > Not quite. > > Internally, Subversion does have to use strict byte-for-byte comparisons > (since committed files are preserved byte-for-byte in the repository). > > However, that has no bearing on the sense of comparison user-facing > logic, such as 'diff' and 'status', should use: these could implement > any sort of comparison deemed useful. In particular, it might be useful > for them to also be able to answer the question "What are all the files > that have non-whitespace changes?". Not 'status' -- 'svn status' should always show what 'svn commit' will send to the server. But 'diff', I agree, could be smarter. For example, right now, 'svn diff --summarize -x -w' will mention files that contain only whitespace changes, even though 'svn diff -x -w' will show an empty diff for those files. -- Brane