Git commands setup via Configure Tools

For svn I set up external tools such as "SVN Diff" using executable = TortoiseProc.exe, parameters command:diff /path:"#path".

Now we've moved to Git, and I'm trying to do the same thing, but the best I've been able to manage is executable = powershell.exe, parameters git difftool --no-prompt "#file", default path = #dir.

I can't get it to work with calling git directly or via cmd /c, even though it works if I manually open a cmd window. It seems launching via the Tools menu gives a 32 bit cmd environment (could be wrong - I'm not even sure there's such a thing, but I compared the output of the set command in the two cmd windows).

I got around that by launching Powershell instead of cmd, but it pops up a terminal window until I exit the diff tool.

Can anyone recommend a better way of launching Git commands via the external tools interface? (Maybe TortoiseGit would help if I had that, but we're currently stuck with Git Extensions.)

This is PL/SQL Developer 12 32 bit (I'd upgrade if it was up to me, but I can't).
 
For Git you can install TortoiseGit (https://tortoisegit.org) and use a very similar TortoiseGitProc.exe tool to perform Git operations:

TortoiseGitProc.exe /command:diff /path:"#path"

If you upgrade to version 14.0 Git support will be integrated.
 
Unfortunately it seems folder names longer than 8 characters get transformed into 8.3 format, which are not recognised by Git commands, so even with TortoiseGit it doesn't work (32 bit PL/SQL Developer 12 on Windows 10).
 
Back
Top