Recently I setup my Zend Studio 5.5.1 to treat each file as a UNIX filetype.

This however made SVN to produce large diff files containing whitespaces.

Ignore whitespaces by using an external diff program.

[code]
svn diff --diff-cmd diff -x -uw
[/code]

You can also add "di" alias this to your ~/.bashrc file.

[code]
alias di='svn diff --diff-cmd diff -x -uw' # ignore whitespaces
[/code]

Credits go to: Akatombo Media

http://www.akatombo.com/en/comments/ignore_whitespace_in_a_subversion_diff/

Thanks.

Referral Note: When you purchase through a referral link (if any) on this page, we may earn a commission.
If you're feeling thankful, you can buy me a coffee or a beer