Merge branch 'ds/chunked-file-api'
authorJunio C Hamano <gitster@pobox.com>
Mon, 1 Mar 2021 22:02:57 +0000 (14:02 -0800)
committerJunio C Hamano <gitster@pobox.com>
Mon, 1 Mar 2021 22:02:57 +0000 (14:02 -0800)
commit660dd97a62da66ffe95df20a9e27a01e39ae473f
tree0715cf61feb03c74da9189978ca4d580d07aca64
parent12bd17521c732ea6de47ec5fd9621a2bca451fe6
parentc4ff24bbb354377a6a7937744fbbef2898243fc7
Merge branch 'ds/chunked-file-api'

The common code to deal with "chunked file format" that is shared
by the multi-pack-index and commit-graph files have been factored
out, to help codepaths for both filetypes to become more robust.

* ds/chunked-file-api:
  commit-graph.c: display correct number of chunks when writing
  chunk-format: add technical docs
  chunk-format: restore duplicate chunk checks
  midx: use 64-bit multiplication for chunk sizes
  midx: use chunk-format read API
  commit-graph: use chunk-format read API
  chunk-format: create read chunk API
  midx: use chunk-format API in write_midx_internal()
  midx: drop chunk progress during write
  midx: return success/failure in chunk write methods
  midx: add num_large_offsets to write_midx_context
  midx: add pack_perm to write_midx_context
  midx: add entries to write_midx_context
  midx: use context in write_midx_pack_names()
  midx: rename pack_info to write_midx_context
  commit-graph: use chunk-format write API
  chunk-format: create chunk format write API
  commit-graph: anonymize data in chunk_write_fn
Documentation/technical/pack-format.txt
Makefile
commit-graph.c
midx.c
t/t5318-commit-graph.sh
t/t5319-multi-pack-index.sh