Junio C Hamano | c64ed70 | 2006-09-04 21:50:12 -0700 | [diff] [blame] | 1 | #ifndef LIST_OBJECTS_H |
| 2 | #define LIST_OBJECTS_H |
| 3 | |
Christian Couder | 11c211f | 2009-04-06 21:28:36 +0200 | [diff] [blame] | 4 | typedef void (*show_commit_fn)(struct commit *, void *); |
Junio C Hamano | 4947367 | 2011-09-01 15:43:33 -0700 | [diff] [blame] | 5 | typedef void (*show_object_fn)(struct object *, const struct name_path *, const char *, void *); |
Christian Couder | 11c211f | 2009-04-06 21:28:36 +0200 | [diff] [blame] | 6 | void traverse_commit_list(struct rev_info *, show_commit_fn, show_object_fn, void *); |
Junio C Hamano | 8d1d8f8 | 2006-09-06 01:42:23 -0700 | [diff] [blame] | 7 | |
Junio C Hamano | 4947367 | 2011-09-01 15:43:33 -0700 | [diff] [blame] | 8 | typedef void (*show_edge_fn)(struct commit *); |
Junio C Hamano | 8d1d8f8 | 2006-09-06 01:42:23 -0700 | [diff] [blame] | 9 | void mark_edges_uninteresting(struct commit_list *, struct rev_info *, show_edge_fn); |
Junio C Hamano | c64ed70 | 2006-09-04 21:50:12 -0700 | [diff] [blame] | 10 | |
| 11 | #endif |