annotate unixSoft/bin/opendiff-w @ 262:3350b219b653

wcroot: use git to directly find repo root. git cleverly hides this under git-rev-parse, which isn't a place I'd have ever thought to look. Thanks to Jacob Lee for the tip.
author Augie Fackler <durin42@gmail.com>
date Fri, 17 Jun 2011 09:46:17 -0500
parents 26f9c18b588c
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
146
9fdb82e108de I really always need opendiff-w.
Augie Fackler <durin42@gmail.com>
parents:
diff changeset
1 #!/bin/sh
260
26f9c18b588c opendiff-w: safer sanity check for opendiff
Augie Fackler <durin42@gmail.com>
parents: 197
diff changeset
2 which opendiff || exit 1
26f9c18b588c opendiff-w: safer sanity check for opendiff
Augie Fackler <durin42@gmail.com>
parents: 197
diff changeset
3 opendiff "$@" | cat