Skip to main content



      Home
Home » Eclipse Projects » EGit / JGit » Paths with spaces in .gitconfig(Not working in JGit/EGit)
Paths with spaces in .gitconfig [message #1856980] Wed, 11 January 2023 09:36
Eclipse UserFriend
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?
Previous Topic:Exit from Eclipse Git
Next Topic:Git clone of a source code into a parent C project doesn't appear to work?
Goto Forum:
  


Current Time: Sat May 17 21:07:56 EDT 2025

Powered by FUDForum. Page generated in 0.05493 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top