Markus Schaber wrote on Tue, Jun 14, 2011 at 11:47:48 +0200:
> Is there any tool which reverts all those whitespace-only changes,
> keeping only the "real" changes in the file?
> 

svn diff foo > 1
svn revert foo
patch < ./1 || svn patch ./1


> Bonus points for a tool which keeps real indentation changes, and only
> discards tab<->space conversions which do not change the indentation
> level. :-)

vim -c 'source /dev/mind-reader' -c 'wq'

Not all OS's provide the necessary device file, though.

Reply via email to