Skip to content

Instantly share code, notes, and snippets.

#!/bin/sh
# Invoke like this:
# svn di --diff-cmd=./diffwarp.sh && cat .gitdiff | gitx && rm .gitdiff
#
# For easier use, stick diffwarp.sh in your path and alias the command
# alias svnx='svn di --diff-cmd=diffwarp.sh > /dev/null && cat .gitdiff | gitx && rm .gitdiff'
# Subversion provides the paths we need as the sixth and seventh
# parameters.