Created
March 18, 2009 03:26
-
-
Save jstanden/80924 to your computer and use it in GitHub Desktop.
Integrating Changes.app and 'git diff' at command-line.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# See: http://wiki.changesapp.com/index.php/SCM_Integration_Scripts#Git_Integration | |
if [ $# != 7 ]; then exit 1; fi; | |
if [ "$2" == "/dev/null" ]; then exit 0; fi; | |
if [ "$5" == "/dev/null" ]; then exit 0; fi; | |
/usr/bin/env chdiff --wait "$2" "$5" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment