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