Community
Participate
Working Groups
Since Commit 4b679bbef14d5b60fd74ae9123bd7690afb76ae1 (Remove Ref[] from SWTCommit constructor) no branches and tags are shown in the history view anymore. Determination of branches and tags is now done in next() of PlotWalk. But this method is never called.
RevCommitList.fillTo() extracts the content out of the PlotWalk without calling next of PlotWalk. In instead uses RevWalk's internal mechanism with a Generator. Therefore determination of branches and tags in next() of PlotWalk is never called. How should this be fixed?
See http://dev.eclipse.org/mhonarc/lists/jgit-dev/msg00538.html for proposed solution. Ina nutshell: Fix RevCommitList.fillTo() to use next() on the RevWalk
Fixed by Change-Id Ic4bc49a0da90234271aea7c0a4e344a1c3620cfc
http://egit.eclipse.org/r/#change,1299 doesn't fix bug 321502 since looking up the list of refs to show in the history view implemented in PlotWalk.getTags(AnyObjectId) fails to find the refs which are apparently in the list. We found that the failing hashmap lookup ends up calling RevObject.equals() which does a pointer comparison obviously failing to match the SWTCommit passed into PlotWalk.getTags(AnyObjectId) with the keys of the hashmap returned by Repository.getAllRefsByPeeledObjectId(). Any hints how to fix this ? We are lost in polymorphia ...
pushed http://egit.eclipse.org/r/#change,1313 to fix this
This is fixed.