Write the bitmap index correctly in DFS GC.

A bug caused the .bitmap to actually have the .idx contents.

Change-Id: I428bb27d419e8b1b69b6f3e2fd07cd29703669ad
This commit is contained in:
Colby Ranger 2013-03-06 12:33:05 -08:00
parent e6883dfe4b
commit c660362768
1 changed files with 1 additions and 1 deletions

View File

@ -339,7 +339,7 @@ private DfsPackDescription writePack(PackSource source, PackWriter pw,
out = objdb.writeFile(pack, BITMAP_INDEX);
try {
CountingOutputStream cnt = new CountingOutputStream(out);
pw.writeIndex(cnt);
pw.writeBitmapIndex(cnt);
pack.setFileSize(BITMAP_INDEX, cnt.getCount());
} finally {
out.close();