revision.c: update show_object_with_name() without using malloc()
[git/git.git] / list-objects.h
CommitLineData
c64ed70d
JH
1#ifndef LIST_OBJECTS_H
2#define LIST_OBJECTS_H
3
11c211fa 4typedef void (*show_commit_fn)(struct commit *, void *);
cf2ab916 5typedef void (*show_object_fn)(struct object *, const struct name_path *, const char *);
8d1d8f83
JH
6typedef void (*show_edge_fn)(struct commit *);
7
11c211fa 8void traverse_commit_list(struct rev_info *, show_commit_fn, show_object_fn, void *);
8d1d8f83
JH
9
10void mark_edges_uninteresting(struct commit_list *, struct rev_info *, show_edge_fn);
c64ed70d
JH
11
12#endif