view easyhg-extdiff-osx.sh @ 246:0fe81e1b26ce

* Be a bit less eager to suspend the fs watcher (e.g. don't suspend on potentially lengthy operations like diff)
author Chris Cannam
date Tue, 11 Jan 2011 20:18:37 +0000
parents 43ecb0dcc44e
children
line wrap: on
line source
#!/bin/bash
if [ $# -lt 2 ]; then 
    echo Insufficient arguments: $@
    exit 2
fi
while [ $# -gt 2 ]; do
    shift
done
/usr/bin/opendiff "$1" "$2" | cat