From 08fd81c9b6495a395a527985d18aa51c4ae66cdc Mon Sep 17 00:00:00 2001 From: Derrick Stolee Date: Mon, 2 Apr 2018 16:34:19 -0400 Subject: commit-graph: implement write_commit_graph() Teach Git to write a commit graph file by checking all packed objects to see if they are commits, then store the file in the given object directory. Helped-by: Jeff King Signed-off-by: Derrick Stolee Signed-off-by: Junio C Hamano --- commit-graph.h | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 commit-graph.h (limited to 'commit-graph.h') diff --git a/commit-graph.h b/commit-graph.h new file mode 100644 index 0000000000..16fea993ab --- /dev/null +++ b/commit-graph.h @@ -0,0 +1,6 @@ +#ifndef COMMIT_GRAPH_H +#define COMMIT_GRAPH_H + +void write_commit_graph(const char *obj_dir); + +#endif -- cgit v1.2.1