blob: 3db7bb6fa386df2ccb73b78ee72881f32074a1b8 [file] [log] [blame]
Junio C Hamanoc64ed702006-09-04 21:50:12 -07001#ifndef LIST_OBJECTS_H
2#define LIST_OBJECTS_H
3
Christian Couder11c211f2009-04-06 21:28:36 +02004typedef void (*show_commit_fn)(struct commit *, void *);
Junio C Hamano49473672011-09-01 15:43:33 -07005typedef void (*show_object_fn)(struct object *, const struct name_path *, const char *, void *);
Christian Couder11c211f2009-04-06 21:28:36 +02006void traverse_commit_list(struct rev_info *, show_commit_fn, show_object_fn, void *);
Junio C Hamano8d1d8f82006-09-06 01:42:23 -07007
Junio C Hamano49473672011-09-01 15:43:33 -07008typedef void (*show_edge_fn)(struct commit *);
Junio C Hamano8d1d8f82006-09-06 01:42:23 -07009void mark_edges_uninteresting(struct commit_list *, struct rev_info *, show_edge_fn);
Junio C Hamanoc64ed702006-09-04 21:50:12 -070010
11#endif