git-p4: auto-size the block
[git.git] / list-objects.h
blobaa618d7f4579b2ec9c4e506f821caa1fc3fb2b37
1 #ifndef LIST_OBJECTS_H
2 #define LIST_OBJECTS_H
4 typedef void (*show_commit_fn)(struct commit *, void *);
5 typedef void (*show_object_fn)(struct object *, const char *, void *);
6 void traverse_commit_list(struct rev_info *, show_commit_fn, show_object_fn, void *);
8 typedef void (*show_edge_fn)(struct commit *);
9 void mark_edges_uninteresting(struct rev_info *, show_edge_fn);
11 struct oidset;
12 struct list_objects_filter_options;
14 void traverse_commit_list_filtered(
15 struct list_objects_filter_options *filter_options,
16 struct rev_info *revs,
17 show_commit_fn show_commit,
18 show_object_fn show_object,
19 void *show_data,
20 struct oidset *omitted);
22 #endif /* LIST_OBJECTS_H */