Fix prefixCompare for AbbreviatedObjectId for sizes multiples of eight
commitfb25c68f67b3aff6f7b56fad734bf55c89dd8674
authorRobin Rosenberg <robin.rosenberg@dewire.com>
Thu, 23 Apr 2009 23:01:40 +0000 (24 01:01 +0200)
committerShawn O. Pearce <spearce@spearce.org>
Tue, 28 Apr 2009 22:52:59 +0000 (28 15:52 -0700)
tree4bd5bf2997afdbc180c739360f364bae851eb2f0
parent1d99aaab8e364c6ad722437e43c77fd54e13b071
Fix prefixCompare for AbbreviatedObjectId for sizes multiples of eight

This tests the special cases for the mask computed for comparisons.

Signed-off-by: Robin Rosenberg <robin.rosenberg@dewire.com>
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
org.spearce.jgit.test/tst/org/spearce/jgit/lib/AbbreviatedObjectIdTest.java
org.spearce.jgit/src/org/spearce/jgit/lib/AbbreviatedObjectId.java