]> source.dussan.org Git - jgit.git/commitdiff
Add progress monitor step to first phase of GC commit selection 47/125847/2
authorTerry Parker <tparker@google.com>
Mon, 2 Jul 2018 23:17:44 +0000 (16:17 -0700)
committerTerry Parker <tparker@google.com>
Tue, 10 Jul 2018 00:51:39 +0000 (17:51 -0700)
Change-Id: I10e3d53de5e2b1fc1be9a59b236da5780473d841
Signed-off-by: Terry Parker <tparker@google.com>
org.eclipse.jgit/src/org/eclipse/jgit/internal/storage/pack/PackWriterBitmapPreparer.java

index fbd9cbacdf4b998c9e5f42b499bf9f62025a96f6..99db74956c6b260b9a3569afae6cdf8909934288 100644 (file)
@@ -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.