commit-graph: extract fill_oids_from_packs()
commitef5b83f2cfe11c2feb98b962881e9a8e6281e3ff
authorDerrick Stolee <dstolee@microsoft.com>
Wed, 12 Jun 2019 13:29:41 +0000 (12 06:29 -0700)
committerJunio C Hamano <gitster@pobox.com>
Wed, 12 Jun 2019 18:20:53 +0000 (12 11:20 -0700)
tree30fb99e6048b58838878d5b9c274ec487652ad2c
parentc9905beade13efff6be9c15ebe03d07fe5278ccc
commit-graph: extract fill_oids_from_packs()

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

This extracts fill_oids_from_packs() that reads the given
pack-file list 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