commit-graph: add 'verify' subcommand
[gitweb.git] / commit-graph.h
index 96cccb10f3d53a6da77f4ad06a971dbaa152f70c..4359812fb4dc53bc5d03e13085685832a8bff79e 100644 (file)
@@ -2,6 +2,7 @@
 #define COMMIT_GRAPH_H
 
 #include "git-compat-util.h"
+#include "repository.h"
 
 char *get_commit_graph_filename(const char *obj_dir);
 
@@ -53,4 +54,6 @@ void write_commit_graph(const char *obj_dir,
                        int nr_commits,
                        int append);
 
+int verify_commit_graph(struct repository *r, struct commit_graph *g);
+
 #endif