Commit-graph write refactor (was: Create commit-graph file format v2) #112
This series replaces ds/commit-graph-file-v2, and I'm using the same gitgitgadget PR to continue the version numbers and hopefully make that clear. This is a slight modification on patches 1-11 from the incremental file format RFC .
The commit-graph feature is growing, thanks to all of the contributions by several community members. This also means that the write_commit_graph() method is a bit unwieldy now. This series refactors that method to use a write_commit_graph_context struct that is passed between several smaller methods. The final result should be a write_commit_graph() method that has a clear set of steps. Future changes should then be easier to understand.
Updates to commits previously in this thread:
Ævar: Looking at the old thread, I only saw two comments that still apply to this series  . Please point me to any comments I have missed.
Updates in V5: