From: Terry Parker Date: Mon, 2 Jul 2018 23:17:44 +0000 (-0700) Subject: Add progress monitor step to first phase of GC commit selection X-Git-Tag: v5.1.0.201808281540-m3~61^2 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=refs%2Fchanges%2F47%2F125847%2F2;p=jgit.git Add progress monitor step to first phase of GC commit selection Change-Id: I10e3d53de5e2b1fc1be9a59b236da5780473d841 Signed-off-by: Terry Parker --- 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 fbd9cbacdf..99db74956c 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 @@ -452,6 +452,7 @@ class PackWriterBitmapPreparer { RevCommit rc; while ((rc = rw.next()) != null && pos > 0) { commits[--pos] = rc; + pm.update(1); } // Sort the new wants by reverse commit time.