Skip to content

Commit

Permalink
add subversion vimdiff
Browse files Browse the repository at this point in the history
  • Loading branch information
lovelock committed Mar 7, 2016
1 parent 7337b06 commit 479f90f
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions utils/vimdiff.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
#!/bin/bash

# Configure your favorite diff program here.
DIFF=vimdiff

# Subversion provides the paths we need as the sixth and seventh
# parameters.
LEFT=${6}
RIGHT=${7}

# Call the diff command (change the following line to make sense for
# your merge program).
$DIFF $LEFT $RIGHT

# Return an errorcode of 0 if no differences were detected, 1 if some were.
# Any other errorcode will be treated as fatal.

0 comments on commit 479f90f

Please sign in to comment.