summaryrefslogtreecommitdiff
path: root/commit.c
diff options
context:
space:
mode:
authorDerrick Stolee <derrickstolee@github.com>2022-07-19 15:26:05 +0000
committerJunio C Hamano <gitster@pobox.com>2022-07-19 08:38:17 -0700
commit90b2bb710da47f12967a6f6a32640c197ca82685 (patch)
tree5c326b84bc8ca471b452baad817a882c886359f2 /commit.c
parent5766524956714d51b131d826a2894c85949e5770 (diff)
midx: extract bitmap write setup
The write_midx_bitmap() method is a long method that does a lot of steps. It requires the write_midx_context struct for use in prepare_midx_packing_data() and find_commits_for_midx_bitmap(), but after that only needs the pack_order array. This is a messy, but completely non-functional refactoring. The code is only being moved around to reduce visibility of the write_midx_context during the longest part of computing reachability bitmaps. Signed-off-by: Derrick Stolee <derrickstolee@github.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'commit.c')
0 files changed, 0 insertions, 0 deletions