File tree Expand file tree Collapse file tree 2 files changed +0
-6
lines changed
Expand file tree Collapse file tree 2 files changed +0
-6
lines changed Original file line number Diff line number Diff line change @@ -11,9 +11,6 @@ Core functions:
1111
1212* `graph_init()` creates a new `struct git_graph`
1313
14- * `graph_release()` destroys a `struct git_graph`, and frees the memory
15- associated with it.
16-
1714* `graph_update()` moves the graph to a new commit.
1815
1916* `graph_next_line()` outputs the next line of the graph into a strbuf. It
@@ -134,8 +131,6 @@ while ((commit = get_revision(opts)) != NULL) {
134131 putchar(opts->diffopt.line_termination);
135132 }
136133}
137-
138- graph_release(graph);
139134------------
140135
141136Sample output
Original file line number Diff line number Diff line change @@ -6,7 +6,6 @@ struct git_graph;
66
77/*
88 * Create a new struct git_graph.
9- * The graph should be freed with graph_release() when no longer needed.
109 */
1110struct git_graph * graph_init (struct rev_info * opt );
1211
You can’t perform that action at this time.
0 commit comments