For issues relating to the opendiff command line utility of Xcode.
opendiff is a command line utility of xcode. It provides a convenient way to launch the FileMerge application.
Syntax:
opendiff file1 file2 [-ancestor ancestorFile] [-merge mergeFile]
opendiff dir1 dir2 [-ancestor ancestorDirectory] [-merge mergeDirectory]
Resources: