Skip to content

Instantly share code, notes, and snippets.

@qerub
Created May 8, 2011 23:27
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save qerub/961803 to your computer and use it in GitHub Desktop.
Save qerub/961803 to your computer and use it in GitHub Desktop.
Wrapper for svn diff that sets --diff-cmd=colordiff
#!/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
@olleolleolle
Copy link

brew install colordiff

That got me the colordiff program.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment