How can I make SnailSvn use vimdiff or any custom diff script? It only has a predefined list of options.
To setup its diff support (for opendiff aka FileMerge), it asks you to copy the following script to:
#!/bin/bash pkill -nf ScriptMonitor sh "$@"
The argument is a generated diff-cmd.sh file that looks something like this:
#/bin/bash "/Applications/Xcode.app/Contents/Developer/usr/bin/opendiff" "/var/folders/nn/000000000000000000000000000000/T/net.langui.SnailSVNFree//r422640 Code.cs" "/Users/idbrii/code/game/Assets/Standard Assets/Unlit/Planes/Code.cs"
I tried to replace it with something like:
#!/bin/bash args=$(grep opendiff "$@" | cut -d\ -f2-) echo mvimdiff $args >> ~/snailsvndifftool.log 2>&1
But instead I get too many files -- despite files containing quotes, they're still split up by spaces.