Print Thread
Git commands setup via Configure Tools
#62243 12/04/20 06:40 PM
Joined: Sep 2003
Posts: 387
London, UK
Member
OP Offline
Member
Joined: Sep 2003
Posts: 387
London, UK
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).

Re: Git commands setup via Configure Tools
William Robertson #62245 12/05/20 10:18 AM
Joined: Aug 1999
Posts: 22,232
Member
Offline
Member
Joined: Aug 1999
Posts: 22,232
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.


Marco Kalter
Allround Automations
Re: Git commands setup via Configure Tools
Marco Kalter #62675 08/07/21 03:34 PM
Joined: Sep 2003
Posts: 387
London, UK
Member
OP Offline
Member
Joined: Sep 2003
Posts: 387
London, UK
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).


Moderated by  support 

Link Copied to Clipboard
Powered by UBB.threads™ PHP Forum Software 7.7.4
(Release build 20200307)
Responsive Width:

PHP: 7.1.33 Page Time: 0.050s Queries: 14 (0.014s) Memory: 2.5058 MB (Peak: 3.0406 MB) Data Comp: Off Server Time: 2024-06-17 10:16:11 UTC
Valid HTML 5 and Valid CSS