git-mergetool/difftool: make (g)vimdiff workable under Windows
commit1fadfbe9b6df8f5e8733741986003f08ba9df2df
authorMarkus Heidelberg <markus.heidelberg@web.de>
Sun, 5 Apr 2009 12:42:57 +0000 (5 14:42 +0200)
committerJohannes Schindelin <johannes.schindelin@gmx.de>
Sun, 5 Apr 2009 13:21:27 +0000 (5 15:21 +0200)
tree583141b5ef545c0ea4f5db7725ef0da00d721f39
parent7ee5b02494aadbe53e5a50f085ce0c81908b5781
git-mergetool/difftool: make (g)vimdiff workable under Windows

Under Windows vimdiff and gvimdiff are not available as symbolic links,
but as batch files vimdiff.bat and gvimdiff.bat. These files weren't
found by 'type vimdiff' which led to the following error:

    The merge tool vimdiff is not available as 'vimdiff'

Even if they were found, it wouldn't work to invoke these batch files
from git-mergetool.

To solve this, use vim and gvim (vim.exe and gvim.exe) and pass the -d
command line switch over to them.

Signed-off-by: Markus Heidelberg <markus.heidelberg@web.de>
contrib/difftool/git-difftool-helper
git-mergetool.sh