summaryrefslogtreecommitdiff
path: root/commit-graph.h
diff options
context:
space:
mode:
authorJonathan Tan <jonathantanmy@google.com>2018-07-11 15:42:40 -0700
committerJunio C Hamano <gitster@pobox.com>2018-07-17 15:47:48 -0700
commitc3756d5b7fc6e163032296aa6c10fad2589273dc (patch)
tree6436f9afe6da8f7202e62296b5393db0c1b61918 /commit-graph.h
parente5c5ca27292d302b7ccf7e44c43d8b9474513867 (diff)
downloadgit-c3756d5b7fc6e163032296aa6c10fad2589273dc.tar.gz
commit-graph: add free_commit_graph
Signed-off-by: Jonathan Tan <jonathantanmy@google.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'commit-graph.h')
-rw-r--r--commit-graph.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/commit-graph.h b/commit-graph.h
index 674052bef4..94defb04a9 100644
--- a/commit-graph.h
+++ b/commit-graph.h
@@ -58,4 +58,6 @@ void write_commit_graph(const char *obj_dir,
int verify_commit_graph(struct repository *r, struct commit_graph *g);
+void free_commit_graph(struct commit_graph *);
+
#endif