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

Re: Ignoring whitespace changes in 'svn blame'

From: eg <egoots_at_gmail.com>
Date: 2006-01-31 21:14:51 CET

Ben Collins-Sussman <sussman <at> red-bean.com> writes:

> On 1/31/06, Branko ─îibej <brane <at> xbc.nu> wrote:
> > > (b) Give the internal 'diff' some options such as to ignore whitespace
> > > changes. This can be a completely independent enhancement.
> > I think this is the only reasonable way to teach blame to ignore
> > whitespace changes.
> >
> Agreed. Besides, people have long asked that libsvn_diff have this
> ability anyway, so that ignoring whitespace can become a core option
> to 'svn diff'.

Of interest, my old MKS Source Integrity diff tool has always had the following
3 options:

1) Ignore blanks - this cause diff to ignore whitespace preceding the newline
and at the end of each line, and considers strings of whitespace elsewhere in
input lines to be equivalent

2) Ignore Case - ignores case of characters in the diff (most useful when
comparing text differences rather than code)

3) Ignore Whitespace - ignores whitespace excluding new lines.

These switches can be quite useful in different circumstances. I suspect mostly
for visual comparisons (e.g. blame).

To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed Feb 1 00:41:09 2006

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