]> source.dussan.org Git - jgit.git/commit
PackWriter: Correct 'Compressing objects' progress message 84/2384/2
authorShawn O. Pearce <spearce@spearce.org>
Mon, 31 Jan 2011 16:37:54 +0000 (08:37 -0800)
committerChris Aniszczyk <caniszczyk@gmail.com>
Tue, 1 Feb 2011 15:01:58 +0000 (09:01 -0600)
commit8f63dface2e08b228cdeb3bef3f93458eab9ce14
tree760d8aa6eaf8585a6d67d11f790392e272a4936e
parenteb5658e629eed524e22cef2c69cbc28e4c8a3f05
PackWriter: Correct 'Compressing objects' progress message

The first 'Compressing objects' progress message is wrong, its
actually PackWriter looking up the sizes of each object in the
ObjectDatabase, so objects can be sorted correctly in the later
type-size sort that tries to take advantage of "Linus' Law" to
improve delta compression.

Rename the progress to say 'Getting sizes', which is an accurate
description of what it is doing.

Change-Id: Ida0a052ad2f6e994996189ca12959caab9e556a3
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
Signed-off-by: Chris Aniszczyk <caniszczyk@gmail.com>
org.eclipse.jgit/resources/org/eclipse/jgit/JGitText.properties
org.eclipse.jgit/src/org/eclipse/jgit/JGitText.java
org.eclipse.jgit/src/org/eclipse/jgit/storage/pack/PackWriter.java