List Info

Thread: Ignoring whitespace changes in 'svn blame'




Ignoring whitespace changes in 'svn blame'
user name
2006-01-31 20:14:51
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-unsubscribesubversion.tigris.org
For additional commands, e-mail: dev-helpsubversion.tigris.org

[1]

about | contact  Other archives ( Real Estate discussion Medical topics )