unpack-trees: do not muck with attributes when we are not checking out
[git/jnareb-git.git] / list-objects.h
blob47fae2e4683e604b81c530a80494033a2e36ca35
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_array_entry *, void *);
6 typedef void (*show_edge_fn)(struct commit *);
8 void traverse_commit_list(struct rev_info *, show_commit_fn, show_object_fn, void *);
10 void mark_edges_uninteresting(struct commit_list *, struct rev_info *, show_edge_fn);
12 #endif