Merge branch 'jk/pack-bitmap'
commit0f9e62e0847c075678a7a5a748567d1e881d16f8
authorJunio C Hamano <gitster@pobox.com>
Thu, 27 Feb 2014 22:01:48 +0000 (27 14:01 -0800)
committerJunio C Hamano <gitster@pobox.com>
Thu, 27 Feb 2014 22:01:48 +0000 (27 14:01 -0800)
tree8ef8989069ae40eef891b0964fc2cb8036a74e48
parent6784fab0ac1f973f22f1d4252f0e513d61be6c6b
parent6b5b3a27b7faf9d72efec28fa017408daf45cd00
Merge branch 'jk/pack-bitmap'

Borrow the bitmap index into packfiles from JGit to speed up
enumeration of objects involved in a commit range without having to
fully traverse the history.

* jk/pack-bitmap: (26 commits)
  ewah: unconditionally ntohll ewah data
  ewah: support platforms that require aligned reads
  read-cache: use get_be32 instead of hand-rolled ntoh_l
  block-sha1: factor out get_be and put_be wrappers
  do not discard revindex when re-preparing packfiles
  pack-bitmap: implement optional name_hash cache
  t/perf: add tests for pack bitmaps
  t: add basic bitmap functionality tests
  count-objects: recognize .bitmap in garbage-checking
  repack: consider bitmaps when performing repacks
  repack: handle optional files created by pack-objects
  repack: turn exts array into array-of-struct
  repack: stop using magic number for ARRAY_SIZE(exts)
  pack-objects: implement bitmap writing
  rev-list: add bitmap mode to speed up object lists
  pack-objects: use bitmaps when packing objects
  pack-objects: split add_object_entry
  pack-bitmap: add support for bitmap indexes
  documentation: add documentation for the bitmap format
  ewah: compressed bitmap implementation
  ...
14 files changed:
Documentation/config.txt
Documentation/git-repack.txt
Documentation/rev-list-options.txt
Makefile
block-sha1/sha1.c
builtin/pack-objects.c
builtin/repack.c
builtin/rev-list.c
cache.h
pack-write.c
read-cache.c
revision.c
revision.h
sha1_file.c