Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'reachable.h')
-rw-r--r--reachable.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/reachable.h b/reachable.h
index 5df932ad8f..b776761baa 100644
--- a/reachable.h
+++ b/reachable.h
@@ -1,11 +1,18 @@
#ifndef REACHEABLE_H
#define REACHEABLE_H
+#include "object.h"
+
struct progress;
struct rev_info;
+typedef void report_recent_object_fn(const struct object *, struct packed_git *,
+ off_t, time_t);
+
int add_unseen_recent_objects_to_traversal(struct rev_info *revs,
- timestamp_t timestamp);
+ timestamp_t timestamp,
+ report_recent_object_fn cb,
+ int ignore_in_core_kept_packs);
void mark_reachable_objects(struct rev_info *revs, int mark_reflog,
timestamp_t mark_recent, struct progress *);