Skip to content

Instantly share code, notes, and snippets.

@qerub
Created May 8, 2011 23:27
Show Gist options
  • Select an option

  • Save qerub/961803 to your computer and use it in GitHub Desktop.

Select an option

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
Copy Markdown

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