for_each_*_object: take flag arguments as enum
[gitweb.git] / object-store.h
index a3db17bbf5a70c9920181e26eeba5c348ad87671..e481f7ad41bd876df3fb98f1578c38f55fc288e5 100644 (file)
@@ -2,6 +2,9 @@
 #define OBJECT_STORE_H
 
 #include "oidmap.h"
+#include "list.h"
+#include "sha1-array.h"
+#include "strbuf.h"
 
 struct alternate_object_database {
        struct alternate_object_database *next;
@@ -103,6 +106,9 @@ struct raw_object_store {
         */
        struct oidmap *replace_map;
 
+       struct commit_graph *commit_graph;
+       unsigned commit_graph_attempted : 1; /* if loading has been attempted */
+
        /*
         * private data
         *