Add progress monitor step to first phase of GC commit selection

Change-Id: I10e3d53de5e2b1fc1be9a59b236da5780473d841
Signed-off-by: Terry Parker <tparker@google.com>
This commit is contained in:
Terry Parker 2018-07-02 16:17:44 -07:00
parent 67f7ca5bb6
commit 7fe15d4428
1 changed files with 1 additions and 0 deletions

View File

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