]> source.dussan.org Git - jgit.git/commitdiff
Enable writing bitmaps during GC by default. 18/10018/10
authorColby Ranger <cranger@google.com>
Wed, 30 Jan 2013 19:48:19 +0000 (11:48 -0800)
committerColby Ranger <cranger@google.com>
Tue, 5 Mar 2013 19:16:08 +0000 (11:16 -0800)
Bitmaps provide a huge performance boost for counting objects and they
play nice with the cgit implementation.

Change-Id: I33b05a6c8f1ee2df7770f0b9fdc50d0b4bbf1029

org.eclipse.jgit/src/org/eclipse/jgit/storage/pack/PackConfig.java

index fdff23085ba3f4e9b4e88f511fc555f1bb542d70..7184859dad8b20bf7454d0396d937616aeb5e7b5 100644 (file)
@@ -135,7 +135,7 @@ public class PackConfig {
         *
         * @see #setBuildBitmaps(boolean)
         */
-       public static final boolean DEFAULT_BUILD_BITMAPS = false;
+       public static final boolean DEFAULT_BUILD_BITMAPS = true;
 
 
        private int compressionLevel = Deflater.DEFAULT_COMPRESSION;