]> git.ipfire.org Git - thirdparty/git.git/blobdiff - commit-graph.h
config.mak.uname: remove unused the NO_R_TO_GCC_LINKER flag
[thirdparty/git.git] / commit-graph.h
index d9acb22bac9224012b8c373bcab4092110cd4149..f8e92500c6e4bc004c9945b29d27da89319d0bd0 100644 (file)
@@ -25,6 +25,7 @@ struct raw_object_store;
 struct string_list;
 
 char *get_commit_graph_filename(struct object_directory *odb);
+char *get_commit_graph_chain_filename(struct object_directory *odb);
 int open_commit_graph(const char *graph_file, int *fd, struct stat *st);
 
 /*
@@ -105,11 +106,12 @@ enum commit_graph_split_flags {
        COMMIT_GRAPH_SPLIT_REPLACE          = 2
 };
 
-struct split_commit_graph_opts {
+struct commit_graph_opts {
        int size_multiple;
        int max_commits;
        timestamp_t expire_time;
-       enum commit_graph_split_flags flags;
+       enum commit_graph_split_flags split_flags;
+       int max_new_filters;
 };
 
 /*
@@ -120,12 +122,12 @@ struct split_commit_graph_opts {
  */
 int write_commit_graph_reachable(struct object_directory *odb,
                                 enum commit_graph_write_flags flags,
-                                const struct split_commit_graph_opts *split_opts);
+                                const struct commit_graph_opts *opts);
 int write_commit_graph(struct object_directory *odb,
                       struct string_list *pack_indexes,
                       struct oidset *commits,
                       enum commit_graph_write_flags flags,
-                      const struct split_commit_graph_opts *split_opts);
+                      const struct commit_graph_opts *opts);
 
 #define COMMIT_GRAPH_VERIFY_SHALLOW    (1 << 0)