Community
Participate
Working Groups
This bug is driving me crazy.
To fix this bug, please implement equals(Object) and hashCode() correctly in GitModelCommit and its subclasses. hashCode() only considers 'remoteCommit' at the moment which is most certainly off. equals(Object) is also incorrect as it does something similar by comparing a RevCommit with the target object. We should be comparing GitModelCommits with another GitModelCommit.
Here is fix for this issue: http://egit.eclipse.org/r/1357
Fixed with 7d7525e8413a314f2a0dfa1d00ffb4f75ab6dd9a.
*** Bug 323275 has been marked as a duplicate of this bug. ***