Browse Source

Merge "Add progress monitor step to first phase of GC commit selection"

stable-5.1
Terry Parker 6 years ago committed by Gerrit Code Review @ Eclipse.org
parent
commit
dd7d479bd4
  1. 1
      org.eclipse.jgit/src/org/eclipse/jgit/internal/storage/pack/PackWriterBitmapPreparer.java

1
org.eclipse.jgit/src/org/eclipse/jgit/internal/storage/pack/PackWriterBitmapPreparer.java

@ -452,6 +452,7 @@ class PackWriterBitmapPreparer {
RevCommit rc; RevCommit rc;
while ((rc = rw.next()) != null && pos > 0) { while ((rc = rw.next()) != null && pos > 0) {
commits[--pos] = rc; commits[--pos] = rc;
pm.update(1);
} }
// Sort the new wants by reverse commit time. // Sort the new wants by reverse commit time.

Loading…
Cancel
Save