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 | |
# 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. |