summaryrefslogtreecommitdiff
path: root/t/t0110
diff options
context:
space:
mode:
authorLibravatar Derrick Stolee <dstolee@microsoft.com>2019-06-12 06:29:40 -0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2019-06-12 11:20:53 -0700
commitc9905beade13efff6be9c15ebe03d07fe5278ccc (patch)
tree3cb8463353a28d3f63a67ce46420153c24b188b1 /t/t0110
parentcommit-graph: remove Future Work section (diff)
downloadtgif-c9905beade13efff6be9c15ebe03d07fe5278ccc.tar.xz
commit-graph: create write_commit_graph_context
The write_commit_graph() method is too large and complex. To simplify it, we should extract several helper functions. However, we will risk repeating a lot of declarations related to progress incidators and object id or commit lists. Create a new write_commit_graph_context struct that contains the core data structures used in this process. Replace the other local variables with the values inside the context object. Following this change, we will start to lift code segments wholesale out of the write_commit_graph() method and into helper functions. Signed-off-by: Derrick Stolee <dstolee@microsoft.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t0110')
0 files changed, 0 insertions, 0 deletions