Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Setting up external diff tool triggers error "'Running external diff toool...' has encountered a problem." #42

Open
StefanHISE opened this issue Jul 10, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@StefanHISE
Copy link

StefanHISE commented Jul 10, 2024

Version

6.8.0

Operating System

Windows

Eclipse version

2023-12

Bug description

In Eclipse under Preferences -> Version Control (Team) -> Git -> Diff/Merge -> enable 'Use external tool if configured by git or product' as shown in the following screenshot:

image

In my user .gitconfig configuration file I've added two entries to set Winmerge as the merge and diff tool:
image

In Eclipse double click an item with some changes in the 'Git Staging' tab to bring up the file diff.

Actual behavior

The following error popup shows up:
image

Expected behavior

Winmerge is opened, showing the diff of the selected file.

Alternatively, if there indeed is something wrong with the configuration, a more meaningful error message would be useful 'Index 1 out of bounds for length 1' doesn't really tell me much without looking into the EGit source-code.

Relevant log output

No response

Other information

Could this be related to this bug in the old bug tracker? https://bugs.eclipse.org/bugs/show_bug.cgi?id=580088
At least in comment 8, it seems to me that some special handling might be needed to support some of the default config settings which might not have been implemented yet in EGit: https://bugs.eclipse.org/bugs/show_bug.cgi?id=580088#c8

@StefanHISE StefanHISE added the bug Something isn't working label Jul 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant