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>
This commit is contained in:

committed by
Junio C Hamano

parent
5f78a431ab
commit
718ccc9731
@ -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,
|
||||
|
Reference in New Issue
Block a user