summaryrefslogtreecommitdiff
path: root/revision.h
diff options
context:
space:
mode:
authorJeff King <peff@peff.net>2014-10-15 18:38:31 -0400
committerJunio C Hamano <gitster@pobox.com>2014-10-16 10:10:38 -0700
commit718ccc9731c4e98b123436c22c1cccf2beed5e29 (patch)
tree2c04d25cff912cf5124d7c1a2c3b4409614f6a32 /revision.h
parent5f78a431ab222189b11a9233a5902db61aa32976 (diff)
downloadgit-718ccc9731c4e98b123436c22c1cccf2beed5e29.tar.gz
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.h1
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,