Patch Set 1: No score; No score

I think that it should be sufficient to use commit.hashCode() and commit.equals(Object).

commit cannot be null and it is an instance of AnyObjectId which is supposed to be unique.