diff options
author | Taylor Blau <me@ttaylorr.com> | 2020-05-13 15:59:44 -0600 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2020-05-18 12:51:11 -0700 |
commit | 5b6653e523cd2a0357924caef339adfeab12903b (patch) | |
tree | c54d21eff50e7ad3f0efe3f4fe1de991b3f258a3 /commit-graph.c | |
parent | builtin/commit-graph.c: extract 'read_one_commit()' (diff) | |
download | tgif-5b6653e523cd2a0357924caef339adfeab12903b.tar.xz |
builtin/commit-graph.c: dereference tags in builtin
When given a list of commits, the commit-graph machinery calls
'lookup_commit_reference_gently()' on each element in the set and treats
the resulting set of OIDs as the base over which to close for
reachability.
In an earlier collection of commits, the 'git commit-graph write
--reachable' case made the inner-most call to
'lookup_commit_reference_gently()' by peeling references before they
were passed over to the commit-graph internals.
Do the analog for 'git commit-graph write --stdin-commits' by calling
'lookup_commit_reference_gently()' outside of the commit-graph
machinery, making the inner-most call a noop.
Since this may incur additional processing time, surround
'read_one_commit' with a progress meter to provide output to the caller.
Signed-off-by: Taylor Blau <me@ttaylorr.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'commit-graph.c')
0 files changed, 0 insertions, 0 deletions