*/
 int parse_commit_in_graph(struct commit *item);
 
+struct tree *get_commit_tree_in_graph(const struct commit *c);
+
 struct commit_graph {
        int graph_fd;
 
 
 void write_commit_graph(const char *obj_dir,
                        const char **pack_indexes,
-                       int nr_packs);
+                       int nr_packs,
+                       const char **commit_hex,
+                       int nr_commits,
+                       int append);
 
 #endif