Closed rnveach closed 2 months ago
1) Seeing GenericEditorMergeViewer
involved, I wonder if that only affects file types configured to be opened with generic editor? Or is this problem independent from file type?
2) "However, when I switch from this initial file to another by double clicking using the "Structure Compare" - How exactly do you run the diff? I can't see files in the structure compare at all.
Can reproduce (Eclipse 4.20.0, EGit 6.7.0).
In conclusion: seems to be a problem with the generic editor, not with EGit.
@rnveach : please try with the latest Eclipse version. Possibly the problem was fixed there.
Removing the "bug" label and closing this issue here in EGit. This is a bug in the generic editor, and the report is a duplicate of https://github.com/eclipse-platform/eclipse.platform.ui/issues/1043 . Another instance of this problem is reported at https://github.com/eclipse-wildwebdeveloper/wildwebdeveloper/issues/1092 .
See in particular the analysis at https://github.com/eclipse-wildwebdeveloper/wildwebdeveloper/issues/1092#issuecomment-1483804856 .
Thank you. Using eclipse 2024-03 seemed to work.
Version
6.9.0
Operating System
Windows
Eclipse version
2023-06
Bug description
I have some repositories with several merge commits and branching lines. I like to compare versions in the History to see what is overall changed and not view each commit individually, so i select 2 commits in the history view and select "Compare with Each Other".
The "Comparing XXX with YYY" window comes up and shows me the initial file. Everything seems fine. However, when I switch from this initial file to another by double clicking using the "Structure Compare" it always abends and throws an IllegalStateException. When this happens, I can't view any other files, even the initial one which was working fine. This nearly always happens to me and won't let me view the history in this method.
Actual behavior
Expected behavior
For it to show me the file with the overall differences that occurred between the 2 commits.
Relevant log output
Other information
I did try upgrading to the latest through the marketplace and it still happens. This issue has been happening for at least a year, and I am reporting it now. I am not sure what version I was on before this upgrade.