|
|
@ -168,7 +168,8 @@ final class PackWriterBitmapWalker { |
|
|
|
|
|
|
|
|
|
|
|
if (bitmap.contains(cmit)) { |
|
|
|
if (bitmap.contains(cmit)) { |
|
|
|
// already included
|
|
|
|
// already included
|
|
|
|
} else if ((visitedBitmap = bitmap.getBitmapIndex().getBitmap(cmit)) != null) { |
|
|
|
} else if ((visitedBitmap = bitmap.getBitmapIndex() |
|
|
|
|
|
|
|
.getBitmap(cmit)) != null) { |
|
|
|
bitmap.or(visitedBitmap); |
|
|
|
bitmap.or(visitedBitmap); |
|
|
|
} else { |
|
|
|
} else { |
|
|
|
bitmap.addObject(cmit, Constants.OBJ_COMMIT); |
|
|
|
bitmap.addObject(cmit, Constants.OBJ_COMMIT); |
|
|
@ -221,7 +222,8 @@ final class PackWriterBitmapWalker { |
|
|
|
|
|
|
|
|
|
|
|
if (seen.contains(cmit) || bitmap.contains(cmit)) { |
|
|
|
if (seen.contains(cmit) || bitmap.contains(cmit)) { |
|
|
|
// already seen or included
|
|
|
|
// already seen or included
|
|
|
|
} else if ((visitedBitmap = bitmap.getBitmapIndex().getBitmap(cmit)) != null) { |
|
|
|
} else if ((visitedBitmap = bitmap.getBitmapIndex() |
|
|
|
|
|
|
|
.getBitmap(cmit)) != null) { |
|
|
|
bitmap.or(visitedBitmap); |
|
|
|
bitmap.or(visitedBitmap); |
|
|
|
} else { |
|
|
|
} else { |
|
|
|
bitmap.addObject(cmit, Constants.OBJ_COMMIT); |
|
|
|
bitmap.addObject(cmit, Constants.OBJ_COMMIT); |
|
|
|