From c64ed70d2557101f2a2c3f76315049d027fe645b Mon Sep 17 00:00:00 2001 From: Junio C Hamano Date: Mon, 4 Sep 2006 21:50:12 -0700 Subject: Separate object listing routines out of rev-list Create a separate file, list-objects.c, and move object listing routines from rev-list to it. The next round will use it in pack-objects directly. Signed-off-by: Junio C Hamano --- list-objects.h | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 list-objects.h (limited to 'list-objects.h') diff --git a/list-objects.h b/list-objects.h new file mode 100644 index 0000000000..8a5fae66ec --- /dev/null +++ b/list-objects.h @@ -0,0 +1,8 @@ +#ifndef LIST_OBJECTS_H +#define LIST_OBJECTS_H + +void traverse_commit_list(struct rev_info *revs, + void (*show_commit)(struct commit *), + void (*show_object)(struct object_array_entry *)); + +#endif -- cgit v1.2.3