Skip to content

Instantly share code, notes, and snippets.

@westonruter
Created February 27, 2011 20:48
Show Gist options
  • Star 24 You must be signed in to star a gist
  • Fork 2 You must be signed in to fork a gist
  • Save westonruter/846524 to your computer and use it in GitHub Desktop.
Save westonruter/846524 to your computer and use it in GitHub Desktop.
Using colordiff for my svn diff command (set in ~/.subversion/config)
@@ -28,7 +28,7 @@
### Set diff-cmd to the absolute path of your 'diff' program.
### This will override the compile-time default, which is to use
### Subversion's internal diff implementation.
-# diff-cmd = diff_program (diff, gdiff, etc.)
+diff-cmd = colordiff
### Set diff3-cmd to the absolute path of your 'diff3' program.
### This will override the compile-time default, which is to use
### Subversion's internal diff3 implementation.
@iplus26
Copy link

iplus26 commented Jul 14, 2016

This gist is correct. However, don't leave any leading spaces like me

⎵⎵diff-cmd = colordiff # Wrong way
diff-cmd = colordiff   # Right way

@alexbaumgertner
Copy link

Thanks, it works!

PS for Mac users:

brew install colordiff

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