Junio C Hamano | c64ed70 | 2006-09-04 21:50:12 -0700 | [diff] [blame] | 1 | #ifndef LIST_OBJECTS_H |
| 2 | #define LIST_OBJECTS_H |
| 3 | |
Junio C Hamano | 8d1d8f8 | 2006-09-06 01:42:23 -0700 | [diff] [blame] | 4 | typedef void (*show_commit_fn)(struct commit *); |
| 5 | typedef void (*show_object_fn)(struct object_array_entry *); |
| 6 | typedef void (*show_edge_fn)(struct commit *); |
| 7 | |
| 8 | void traverse_commit_list(struct rev_info *revs, show_commit_fn, show_object_fn); |
| 9 | |
| 10 | 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] | 11 | |
| 12 | #endif |