commit-graph: read only from specific pack-indexes
[gitweb.git] / commit-graph.h
index 73b28beed15b952ced9ec1b0e978f507a552e823..f065f0866f83e274b0e9e8cdb10415b84d5d74f8 100644 (file)
@@ -36,6 +36,8 @@ 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);
 
 #endif