diff options
author | Jeff King <peff@peff.net> | 2014-10-16 00:38:31 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2014-10-16 19:10:38 +0200 |
commit | 718ccc9731c4e98b123436c22c1cccf2beed5e29 (patch) | |
tree | 2c04d25cff912cf5124d7c1a2c3b4409614f6a32 /revision.h | |
parent | reachable: use traverse_commit_list instead of custom walk (diff) | |
download | git-718ccc9731c4e98b123436c22c1cccf2beed5e29.tar.xz git-718ccc9731c4e98b123436c22c1cccf2beed5e29.zip |
reachable: reuse revision.c "add all reflogs" code
We want to add all reflog entries as tips for finding
reachable objects. The revision machinery can already do
this (to support "rev-list --reflog"); we can reuse that
code.
Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'revision.h')
-rw-r--r-- | revision.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/revision.h b/revision.h index a6205307cf..e644044174 100644 --- a/revision.h +++ b/revision.h @@ -276,6 +276,7 @@ extern void add_pending_sha1(struct rev_info *revs, unsigned int flags); extern void add_head_to_pending(struct rev_info *); +extern void add_reflogs_to_pending(struct rev_info *, unsigned int flags); enum commit_action { commit_ignore, |