[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: Branko Čibej <brane_at_xbc.nu>
Date: 2006-01-31 18:15:13 CET

Julian Foad wrote:
> This seems the right timing for a bit of designing.
> My two-step, completely unresearched thought for 'svn blame' is:
> (a) Make 'svn blame' use the generic 'diff' facility (i.e. internal or
> external diff, at the user's choice). Give it the options
> '--diff-cmd' and '-x/--extensions' (yuck, bad name). This will
> immediately give 'svn blame' the ability to ignore space changes and
> the like, by using an external 'diff'.
> Does anyone have an idea of what's involved in doing that?
Writing a parser for arbitrary diff formats, so that the result of the
diff can actually be converted into blame info? Really, this idea seems
seriously flawed.

> (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.

-- Brane

To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue Jan 31 18:18:38 2006

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.