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

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

Extract fill_oids_from_commit_hex() that reads the given commit
id list and fille 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