I'm having trouble getting the Eclipse EGit plugin to recognize the path in my .gitconfig file. I'm on Windows 10 so spaces in my command are part of the issue.
I'm using:
Windows 10
Eclipse 2022-12
JGit/EGit 6.4.0.202211300538-r
Git 2.39.0.windows.2
Here's the difftool section in my ~/.gitconfig file:
[difftool "araxis"]
cmd = 'C:/Program Files/Araxis/Araxis Merge/Compare.exe' \"$LOCAL\" \"$REMOTE\"
Running this from a command line works as expected. But when I try to use it in Eclipse I get this error:
JGit: tool execution return code: 9009
checkExitCode: false
execError: true
stderr:
''C:' is not recognized as an internal or external command,
operable program or batch file.
Is there a different way I am supposed to specify paths for JGit?