Skip to content
  • Junio C Hamano's avatar
    Merge branch 'jk/pack-bitmap' · 0f9e62e0
    Junio C Hamano authored
    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
      ...
    0f9e62e0