eclipse-egit / egit

EGit, the git integration of Eclipse IDE

Home Page:https://www.eclipse.org/egit/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Quick Diff does not work in EGit 7.0.0

estepper opened this issue · comments

Version

7.0.0

Operating System

Windows

Eclipse version

2024-09

Bug description

I'm used to see Quick Diff annotations in my left and right editor rulers:

image

See example below...

Actual behavior

There are no more Git revision Quick Diff annotations anymore with EGit 7.0.0. Even though "A Git Revision" is selected (see above) it seems to display Diff info of the "Version on Disk" provider. Not sure if that's a problem in the Platform?

Expected behavior

This is how it looks/behaves with EGit 6.10.0:

image

Relevant log output

No response

Other information

No response

There have been no changes in EGit in that respect. I suspect this might be related to eclipse-platform/eclipse.platform#1489 ?

There have been no changes in EGit in that respect. I suspect this might be related to eclipse-platform/eclipse.platform#1489

That's completely different story.

Can someone reproduce the problem?

Update to latest version.

I tried and installed 2024-09 M2 Eclipse IDE for Committers, imported jgit projects,
configured quick diff to use git and did a one line test change, and quick diff works:

Screenshot 2024-08-15 at 12 54 22

And you're sure that this is not the "Version on Disk" provider?

I just updated my IDE (with nothing new coming in) and still have the problem. This is installed:

image

I can confirm that in my IDE the "A Git Revision" provider behaves exactly like the "Version on Disk" provider. Perhaps that gives a clue?

And I always reopen the editor after changing the Quick Diff provider.

@estepper : could you please try with a new workspace without Oomph? I guess your settings might be changed in some way and remembered by Oomph.

I found the cause of the problem. None of my IProjects were "connected" with EGit anymore. No idea how or when that happened. But by removing all projects from my workspace and re-importing them with EGit also the Quick Diff worked again.