]> source.dussan.org Git - jgit.git/commit
PackWriter: Correct total delta count when reusing pack 38/2538/1
authorShawn O. Pearce <spearce@spearce.org>
Sat, 19 Feb 2011 01:21:09 +0000 (17:21 -0800)
committerShawn O. Pearce <spearce@spearce.org>
Sat, 19 Feb 2011 01:36:45 +0000 (17:36 -0800)
commit388ba7e005fdc5b61a7a494fa44ba24489d0c6d0
treea77f8de6d9c030138a32784719eac476a96d19ed
parent4275c4c1cffeffae6b12eb6aa2df957c23107b48
PackWriter: Correct total delta count when reusing pack

If the CachedPack knows its delta count, we need to increment both
the totalDeltas and reusedDeltas fields of the stats object.

Change-Id: I70113609c22476ce7f1e4d9a92f486e9b0f59e44
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
org.eclipse.jgit/src/org/eclipse/jgit/storage/pack/PackWriter.java