]> source.dussan.org Git - jgit.git/commit
Correct progress monitor on "Getting sizes:" phase 42/4642/2
authorShawn O. Pearce <spearce@spearce.org>
Thu, 17 Nov 2011 15:21:22 +0000 (07:21 -0800)
committerShawn O. Pearce <spearce@spearce.org>
Fri, 18 Nov 2011 23:55:51 +0000 (15:55 -0800)
commit29997ab0840dbac89106691264c7768de6d47322
tree65df24a6f69e8aede1766bbeac7532d9f3bb361b
parent4b84186b641ddef39399dfff58bc762090da8fdd
Correct progress monitor on "Getting sizes:" phase

This counter always was running 1 higher, because it incremented
after the queue was exhausted (and every object was processed). Move
increments to be after the queue has provided a result, to ensure
we do not show a higher in-progress count than total count.

Change-Id: I97f815a0492c0957300475af409b6c6260008463
org.eclipse.jgit/src/org/eclipse/jgit/storage/pack/PackWriter.java