refspec: introduce struct refspec
[gitweb.git] / commit-graph.h
index 73b28beed15b952ced9ec1b0e978f507a552e823..e1d8580c98a24a51e64c4d0f1d9abda10c5e92f2 100644 (file)
@@ -36,6 +36,11 @@ struct commit_graph {
 
 struct commit_graph *load_commit_graph_one(const char *graph_file);
 
-void write_commit_graph(const char *obj_dir);
+void write_commit_graph(const char *obj_dir,
+                       const char **pack_indexes,
+                       int nr_packs,
+                       const char **commit_hex,
+                       int nr_commits,
+                       int append);
 
 #endif