Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJunio C Hamano <junkio@cox.net>2006-09-05 08:50:12 +0400
committerJunio C Hamano <junkio@cox.net>2006-09-07 13:46:01 +0400
commitc64ed70d2557101f2a2c3f76315049d027fe645b (patch)
tree7647b6bcbd7fa898edb8487d5e19704b7dd66718 /list-objects.h
parent7bbf88c52b202d543310123e1bad9a44b2d6f028 (diff)
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 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