summaryrefslogtreecommitdiff
path: root/list-objects.h
diff options
context:
space:
mode:
Diffstat (limited to 'list-objects.h')
-rw-r--r--list-objects.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/list-objects.h b/list-objects.h
index aa618d7f45..a952680e46 100644
--- a/list-objects.h
+++ b/list-objects.h
@@ -1,12 +1,18 @@
#ifndef LIST_OBJECTS_H
#define LIST_OBJECTS_H
+struct commit;
+struct object;
+struct rev_info;
+
typedef void (*show_commit_fn)(struct commit *, void *);
typedef void (*show_object_fn)(struct object *, const char *, void *);
void traverse_commit_list(struct rev_info *, show_commit_fn, show_object_fn, void *);
typedef void (*show_edge_fn)(struct commit *);
-void mark_edges_uninteresting(struct rev_info *, show_edge_fn);
+void mark_edges_uninteresting(struct rev_info *revs,
+ show_edge_fn show_edge,
+ int sparse);
struct oidset;
struct list_objects_filter_options;