commit-graph: extract fill_oids_from_all_packs()
commitb2c83060525e69f628fb32836e311978e3899e6e
authorDerrick Stolee <dstolee@microsoft.com>
Wed, 12 Jun 2019 13:29:42 +0000 (12 06:29 -0700)
committerJunio C Hamano <gitster@pobox.com>
Wed, 12 Jun 2019 18:20:54 +0000 (12 11:20 -0700)
tree14a198b5a962759c8c980be123cb87055f484a19
parent4c9efe850d75115a6deedd57072f1d7383bc03da
commit-graph: extract fill_oids_from_all_packs()

The write_commit_graph() method is too complex, so we are
extracting helper functions one by one.

Extract fill_oids_from_all_packs() that reads all pack-files
for commits and fills the oid list in the context.

Signed-off-by: Derrick Stolee <dstolee@microsoft.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
commit-graph.c