]> git.ipfire.org Git - thirdparty/git.git/blobdiff - commit-graph.h
commit-graph: don't pass filename to load_commit_graph_one_fd_st()
[thirdparty/git.git] / commit-graph.h
index 77cc739bc020a6dfd5425b39313ae7d6299b660c..ada7aea9edb4f53a5bed255a717c4d14b1edfa23 100644 (file)
@@ -53,8 +53,7 @@ struct commit_graph {
        const unsigned char *chunk_extra_edges;
 };
 
-struct commit_graph *load_commit_graph_one_fd_st(const char *graph_file,
-                                                int fd, struct stat *st);
+struct commit_graph *load_commit_graph_one_fd_st(int fd, struct stat *st);
 
 struct commit_graph *parse_commit_graph(void *graph_map, int fd,
                                        size_t graph_size);