[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: diff-optimizations-tokens branch: I think I'm going to abandon it

From: Branko Čibej <brane_at_xbc.nu>
Date: Fri, 03 Dec 2010 13:17:20 +0100

On 02.12.2010 21:21, Johan Corveleyn wrote:
> On Thu, Dec 2, 2010 at 6:18 PM, Bill Tutt <bill_at_tutts.org> wrote:
>> Additional ignore whitespace related comment:
>> * IIRC, Perforce had an interesting twist on ignoring whitespace. You
>> could ignore just line leading/ending whitespace instead of all
>> whitespace differences but pay attention to any whitespace change
>> after the "trim" operation had completed.
>>
>> e.g.:
>> * " aaa bbb " vs "aaa bbb" would compare as equal
>> * " aaa bbb " vs "aaa bbb" would compare as equal
>> * " aaa bbb " vs "aaa bbb" would compare as non-equal due to the
>> white space change in the middle of the line
> Cool (svn doesn't have that option). But I'm not sure what that would
> be useful for (as a user, I can't immediately imagine an important use
> case). Anyway, could still be a nice option...

It filters out the noise when code is only reindented, but catches
whitespace differences in, say, literal strings within the reindented code.

-- Brane
Received on 2010-12-03 13:18:00 CET

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.