Created
February 14, 2011 17:30
-
-
Save sourcerebels/826212 to your computer and use it in GitHub Desktop.
python script to use meld as diff tool for git diff
This file contains hidden or 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
#!/usr/bin/python | |
# USE: git config --global diff.external diff.py | |
import sys | |
import os | |
os.system('meld "%s" "%s"' % (sys.argv[2], sys.argv[5])) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment