summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorShawn Pearce <spearce@spearce.org>2015-08-13 12:09:03 -0400
committerGerrit Code Review @ Eclipse.org <gerrit@eclipse.org>2015-08-13 12:09:04 -0400
commit20d9ab00ae7c5f89d388206b58276700a8a5d4c8 (patch)
tree58af3a48dfc623f16764b4b37106f46c0f83c07a
parent349b0af754724ef816dab217efa7c140c3e1c6ba (diff)
parentd988540c8e100736056a5cd82f0893b25170ce50 (diff)
downloadjgit-20d9ab00ae7c5f89d388206b58276700a8a5d4c8.tar.gz
jgit-20d9ab00ae7c5f89d388206b58276700a8a5d4c8.zip
Merge "Do not retain commit body during bitmap generation"
-rw-r--r--org.eclipse.jgit/src/org/eclipse/jgit/internal/storage/pack/PackWriterBitmapPreparer.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/org.eclipse.jgit/src/org/eclipse/jgit/internal/storage/pack/PackWriterBitmapPreparer.java b/org.eclipse.jgit/src/org/eclipse/jgit/internal/storage/pack/PackWriterBitmapPreparer.java
index fca90636da..756d4b0005 100644
--- a/org.eclipse.jgit/src/org/eclipse/jgit/internal/storage/pack/PackWriterBitmapPreparer.java
+++ b/org.eclipse.jgit/src/org/eclipse/jgit/internal/storage/pack/PackWriterBitmapPreparer.java
@@ -114,6 +114,7 @@ class PackWriterBitmapPreparer {
IOException {
pm.beginTask(JGitText.get().selectingCommits, ProgressMonitor.UNKNOWN);
RevWalk rw = new RevWalk(reader);
+ rw.setRetainBody(false);
WalkResult result = findPaths(rw, expectedNumCommits);
pm.endTask();