diff options
author | Jeff King <peff@peff.net> | 2014-10-15 18:37:28 -0400 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2014-10-16 10:10:38 -0700 |
commit | 5f78a431ab222189b11a9233a5902db61aa32976 (patch) | |
tree | 2e622e594d18b97b9a5395bcf5cc1006a1890d6e /revision.h | |
parent | 1da1e07c835e900337714cfad6c32a8dc0b36ac3 (diff) | |
download | git-5f78a431ab222189b11a9233a5902db61aa32976.tar.gz |
reachable: use traverse_commit_list instead of custom walk
To find the set of reachable objects, we add a bunch of
possible sources to our rev_info, call prepare_revision_walk,
and then launch into a custom walker that handles each
object top. This is a subset of what traverse_commit_list
does, so we can just reuse that code (it can also handle
more complex cases like UNINTERESTING commits and pathspecs,
but we don't use those features).
Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'revision.h')
0 files changed, 0 insertions, 0 deletions