Skip to content

Instantly share code, notes, and snippets.

@gnu-user
Created March 18, 2013 00:23
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save gnu-user/5184246 to your computer and use it in GitHub Desktop.
Save gnu-user/5184246 to your computer and use it in GitHub Desktop.
Diff.py use instead of the normal diff if you want git to use meld for diffing files.
#!/usr/bin/python
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