diff options
author | Derrick Stolee <dstolee@microsoft.com> | 2018-04-02 16:34:19 -0400 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2018-04-02 14:27:38 -0700 |
commit | 08fd81c9b6495a395a527985d18aa51c4ae66cdc (patch) | |
tree | fe90797b9eefe0b8cd39817d08ae0f327793f01d /commit-graph.h | |
parent | 4ce58ee38de3ab0955b94946bfc339f387227223 (diff) | |
download | git-08fd81c9b6495a395a527985d18aa51c4ae66cdc.tar.gz |
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 <peff@peff.net>
Signed-off-by: Derrick Stolee <dstolee@microsoft.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'commit-graph.h')
-rw-r--r-- | commit-graph.h | 6 |
1 files changed, 6 insertions, 0 deletions
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 |