summaryrefslogtreecommitdiffstats
path: root/org.eclipse.jgit
diff options
context:
space:
mode:
authorYunjie Li <yunjieli@google.com>2020-05-27 10:29:20 -0700
committerYunjie Li <yunjieli@google.com>2020-05-27 10:31:54 -0700
commit06a90fdf2e593897c20dae66081e903e4b1b7574 (patch)
tree578a0b8a4ebf96a7629019b195d67b360bf34ad4 /org.eclipse.jgit
parentefb15a56f7c3d1d2829312ecf98f743d4fcf5828 (diff)
downloadjgit-06a90fdf2e593897c20dae66081e903e4b1b7574.tar.gz
jgit-06a90fdf2e593897c20dae66081e903e4b1b7574.zip
Revert "PackBitmapIndex: Not buffer inflated bitmap in BasePackBitmapIndex"
This reverts commit 3aee92478c2cbc67cd921533437b824e43ed9798, which increased fetch latency significantly. Change-Id: Id31a94dff83bf7ab2121718ead819bd08306a0b6 Signed-off-by: Yunjie Li <yunjieli@google.com>
Diffstat (limited to 'org.eclipse.jgit')
-rw-r--r--org.eclipse.jgit/src/org/eclipse/jgit/internal/storage/file/BasePackBitmapIndex.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/org.eclipse.jgit/src/org/eclipse/jgit/internal/storage/file/BasePackBitmapIndex.java b/org.eclipse.jgit/src/org/eclipse/jgit/internal/storage/file/BasePackBitmapIndex.java
index 74b46bcee6..c9bb167f02 100644
--- a/org.eclipse.jgit/src/org/eclipse/jgit/internal/storage/file/BasePackBitmapIndex.java
+++ b/org.eclipse.jgit/src/org/eclipse/jgit/internal/storage/file/BasePackBitmapIndex.java
@@ -72,6 +72,7 @@ abstract class BasePackBitmapIndex extends PackBitmapIndex {
if (r instanceof EWAHCompressedBitmap) {
out = out.xor((EWAHCompressedBitmap) r);
out.trim();
+ bitmapContainer = out;
return out;
}
xb = (XorCompressedBitmap) r;