You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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:
In my user .gitconfig configuration file I've added two entries to set Winmerge as the merge and diff tool:
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:
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.
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:
In my user .gitconfig configuration file I've added two entries to set Winmerge as the merge and diff tool:

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:

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
The text was updated successfully, but these errors were encountered: