pack-bitmap: implement optional name_hash cache
[gitweb.git] / Documentation / config.txt
index 4b0c3682cc9a590e4826495990f81beab7885b73..499a3c43608ecca1525756df78c31df1a1519a23 100644 (file)
@@ -1872,6 +1872,17 @@ pack.writebitmaps::
        space and extra time spent on the initial repack.  Defaults to
        false.
 
+pack.writeBitmapHashCache::
+       When true, git will include a "hash cache" section in the bitmap
+       index (if one is written). This cache can be used to feed git's
+       delta heuristics, potentially leading to better deltas between
+       bitmapped and non-bitmapped objects (e.g., when serving a fetch
+       between an older, bitmapped pack and objects that have been
+       pushed since the last gc). The downside is that it consumes 4
+       bytes per object of disk space, and that JGit's bitmap
+       implementation does not understand it, causing it to complain if
+       Git and JGit are used on the same repository. Defaults to false.
+
 pager.<cmd>::
        If the value is boolean, turns on or off pagination of the
        output of a particular Git subcommand when writing to a tty.