Skip to content

Instantly share code, notes, and snippets.

@mrtazz
Created September 10, 2010 09:16
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 mrtazz/573357 to your computer and use it in GitHub Desktop.
Save mrtazz/573357 to your computer and use it in GitHub Desktop.
#!/bin/sh
# wrapper to use vimdiff with git
# diff is called by git with 7 parameters:
# path old-file old-hex old-mode new-file new-hex new-mode
mvimdiff "$2" "$5"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment