commit-graph.c: simplify 'fill_oids_from_commits'
commit0ec2d0ff07f125b7dcf0fde2b508fa8d6d35e939
authorTaylor Blau <me@ttaylorr.com>
Wed, 13 May 2020 21:59:47 +0000 (13 15:59 -0600)
committerJunio C Hamano <gitster@pobox.com>
Mon, 18 May 2020 19:51:11 +0000 (18 12:51 -0700)
treeba2f0fae663a769996f9e85b8857e89e68bf0ce5
parent5b6653e523cd2a0357924caef339adfeab12903b
commit-graph.c: simplify 'fill_oids_from_commits'

In the previous handful of commits, both 'git commit-graph write
--reachable' and '--stdin-commits' learned to peel tags down to the
commits which they refer to before passing them into the commit-graph
internals.

This makes the call to 'lookup_commit_reference_gently()' inside of
'fill_oids_from_commits()' a noop, since all OIDs are commits by that
point.

As such, remove the call entirely, as well as the progress meter, which
has been split and moved out to the callers in the aforementioned
earlier commits.

Signed-off-by: Taylor Blau <me@ttaylorr.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
commit-graph.c