I can get diffs between two revisions using something like
svn diff -r 100:200 > file.diff
But the problem is that there are many lines that show up due to change in whitespace. Is there a way to only write those lines that actually change in a significant way and not just in whitespace?
You can use
svn diff -r 100:200 -x -b > file.diff
If you want to ignore all whitespaces:
svn diff -x -w | less
Source
Use -x --ignore-space-change
or -x --ignore-all-space
. (See svn -h diff
.)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With