2006-09-05 12:50:12 +08:00
|
|
|
#ifndef LIST_OBJECTS_H
|
|
|
|
#define LIST_OBJECTS_H
|
|
|
|
|
2009-04-07 03:28:36 +08:00
|
|
|
typedef void (*show_commit_fn)(struct commit *, void *);
|
2011-09-02 06:43:33 +08:00
|
|
|
typedef void (*show_object_fn)(struct object *, const struct name_path *, const char *, void *);
|
2009-04-07 03:28:36 +08:00
|
|
|
void traverse_commit_list(struct rev_info *, show_commit_fn, show_object_fn, void *);
|
2006-09-06 16:42:23 +08:00
|
|
|
|
2011-09-02 06:43:33 +08:00
|
|
|
typedef void (*show_edge_fn)(struct commit *);
|
2006-09-06 16:42:23 +08:00
|
|
|
void mark_edges_uninteresting(struct commit_list *, struct rev_info *, show_edge_fn);
|
2006-09-05 12:50:12 +08:00
|
|
|
|
|
|
|
#endif
|