Created
May 8, 2011 23:27
-
-
Save qerub/961803 to your computer and use it in GitHub Desktop.
Wrapper for svn diff that sets --diff-cmd=colordiff
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# http://colordiff.sourceforge.net/ | |
if tty -s; then | |
exec svn diff --diff-cmd=colordiff "$@" | less -R | |
else | |
exec svn diff --diff-cmd=colordiff "$@" | |
fi |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
brew install colordiff
That got me the colordiff program.