summaryrefslogtreecommitdiff
path: root/merge.c
diff options
context:
space:
mode:
authorLibravatar Derrick Stolee <dstolee@microsoft.com>2021-02-18 14:07:26 +0000
committerLibravatar Junio C Hamano <gitster@pobox.com>2021-02-18 13:38:16 -0800
commit577dc49696afee67fb507e0bd72be4c8677b83c2 (patch)
tree7bb67e4ca1be28d2c2345e0ded61d299f4588a76 /merge.c
parentcommit-graph: use chunk-format write API (diff)
downloadtgif-577dc49696afee67fb507e0bd72be4c8677b83c2.tar.xz
midx: rename pack_info to write_midx_context
In an effort to streamline our chunk-based file formats, align some of the code structure in write_midx_internal() to be similar to the patterns in write_commit_graph_file(). Specifically, let's create a "struct write_midx_context" that can be used as a data parameter to abstract function types. This change only renames "struct pack_info" to "struct write_midx_context" and the names of instances from "packs" to "ctx". In future changes, we will expand the data inside "struct write_midx_context" and align our chunk-writing method with the chunk-format API. Signed-off-by: Derrick Stolee <dstolee@microsoft.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'merge.c')
0 files changed, 0 insertions, 0 deletions