DZone Snippets is a public source code repository. Easily build up your personal collection of code snippets, categorize them with tags / keywords, and share them with the world

Snippets has posted 5883 posts at DZone. View Full User Profile

SVN Diff While Ignoring Whitespace

03.12.2008
| 3306 views |
  • submit to reddit
        A command line alias for doing an svn diff while ignoring whitespace differences. Placed in ~/.bashrc or your profile.

Can be used in a directory:
$ dw

Or on a single file:
$ dw functions.php

alias dw="svn diff --diff-cmd diff -x -uw"