]> source.dussan.org Git - jgit.git/commit
Update PackWriter.Statistics.getBitmapIndexMises() 89/49289/2
authorTerry Parker <tparker@google.com>
Wed, 3 Jun 2015 02:40:14 +0000 (19:40 -0700)
committerShawn Pearce <spearce@spearce.org>
Wed, 3 Jun 2015 02:49:55 +0000 (22:49 -0400)
commitdd22bc831a0ec47ecc999eb19be1bd8fad899e9b
tree8e4842779b278c3a2ca9f179986dad940db9d1be
parenta79168bcbb991c2efe40b4e041dae256b408af92
Update PackWriter.Statistics.getBitmapIndexMises()

Return -1 from PackWriter.Statistics.getBitmapIndexMises() when no
bitmap indices were found, to differentiate it from the case where
the bitmap indices contained all of the want/have commits.

Change-Id: I78d4600b462c19f62b347217a0b2c19eaaf3a14b
Signed-off-by: Terry Parker <tparker@google.com>
org.eclipse.jgit/src/org/eclipse/jgit/internal/storage/pack/PackWriter.java