diff options
author | Junio C Hamano <gitster@pobox.com> | 2018-08-02 15:30:47 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2018-08-02 15:30:47 -0700 |
commit | 78a72ad4f8fa91adc876b2fc4b18fd370e43136d (patch) | |
tree | a00b516dce8736567e679878f1b00966ef705f4a /builtin/commit-graph.c | |
parent | Merge branch 'es/chain-lint-in-subshell' (diff) | |
parent | commit-graph: add repo arg to graph readers (diff) | |
download | tgif-78a72ad4f8fa91adc876b2fc4b18fd370e43136d.tar.xz |
Merge branch 'jt/commit-graph-per-object-store'
The singleton commit-graph in-core instance is made per in-core
repository instance.
* jt/commit-graph-per-object-store:
commit-graph: add repo arg to graph readers
commit-graph: store graph in struct object_store
commit-graph: add free_commit_graph
commit-graph: add missing forward declaration
object-store: add missing include
commit-graph: refactor preparing commit graph
Diffstat (limited to 'builtin/commit-graph.c')
-rw-r--r-- | builtin/commit-graph.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/builtin/commit-graph.c b/builtin/commit-graph.c index c7d0db5ab4..0bf0c48657 100644 --- a/builtin/commit-graph.c +++ b/builtin/commit-graph.c @@ -115,6 +115,8 @@ static int graph_read(int argc, const char **argv) printf(" large_edges"); printf("\n"); + free_commit_graph(graph); + return 0; } |