summaryrefslogtreecommitdiff
path: root/list-objects.h
diff options
context:
space:
mode:
authorJunio C Hamano <junkio@cox.net>2006-09-05 04:50:12 (GMT)
committerJunio C Hamano <junkio@cox.net>2006-09-07 09:46:01 (GMT)
commitc64ed70d2557101f2a2c3f76315049d027fe645b (patch)
tree7647b6bcbd7fa898edb8487d5e19704b7dd66718 /list-objects.h
parent7bbf88c52b202d543310123e1bad9a44b2d6f028 (diff)
downloadgit-c64ed70d2557101f2a2c3f76315049d027fe645b.zip
git-c64ed70d2557101f2a2c3f76315049d027fe645b.tar.gz
git-c64ed70d2557101f2a2c3f76315049d027fe645b.tar.bz2
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 <junkio@cox.net>
Diffstat (limited to 'list-objects.h')
-rw-r--r--list-objects.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/list-objects.h b/list-objects.h
new file mode 100644
index 0000000..8a5fae6
--- /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