Merge branch 'jk/unused-function'
[git/debian.git] / list-objects.h
blobad407629269a7e7c77953390beccf036fd2452f6
1 #ifndef LIST_OBJECTS_H
2 #define LIST_OBJECTS_H
4 struct commit;
5 struct object;
6 struct rev_info;
8 typedef void (*show_commit_fn)(struct commit *, void *);
9 typedef void (*show_object_fn)(struct object *, const char *, void *);
10 void traverse_commit_list(struct rev_info *, show_commit_fn, show_object_fn, void *);
12 typedef void (*show_edge_fn)(struct commit *);
13 void mark_edges_uninteresting(struct rev_info *, show_edge_fn);
15 struct oidset;
16 struct list_objects_filter_options;
18 void traverse_commit_list_filtered(
19 struct list_objects_filter_options *filter_options,
20 struct rev_info *revs,
21 show_commit_fn show_commit,
22 show_object_fn show_object,
23 void *show_data,
24 struct oidset *omitted);
26 #endif /* LIST_OBJECTS_H */