Wednesday, April 30, 2008

Ignore whitespace in an svn diff

Subversion diff doesn't have an option to ignore whitespace but it does have an option to use an external diff command. This means it is possible to make use of the 'diff' command and its ability to ignore whitespace. For example: svn diff --diff-cmd diff -x -uw foo

No comments:

Post a Comment