Documentation: undocument gc'd function graph_release()
graph_release() was removed in 064bfbd. Cut it from the API documentation and a comment. Signed-off-by: Greg Price <price@ksplice.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Greg Price committed
Nov 19, 2009 at 15:58 UTC
aa8dc9679a6a7daea261abe969af331c741a9f2c
2 files changed
-6
Documentation/technical/api-history-graph.txt
-5
@@ -11,9 +11,6 @@ Core functions:
11
12
* `graph_init()` creates a new `struct git_graph`
13
14
-* `graph_release()` destroys a `struct git_graph`, and frees the memory
15
- associated with it.
16
-
14
* `graph_update()` moves the graph to a new commit.
15
16
* `graph_next_line()` outputs the next line of the graph into a strbuf. It
@@ -134,8 +131,6 @@ while ((commit = get_revision(opts)) != NULL) {
131
putchar(opts->diffopt.line_termination);
132
}
133
}
137
-
138
-graph_release(graph);
134
------------
135
136
Sample output
graph.h
-1
@@ -6,7 +6,6 @@ struct git_graph;
6
7
/*
8
* Create a new struct git_graph.
9
- * The graph should be freed with graph_release() when no longer needed.
9
*/
10
struct git_graph *graph_init(struct rev_info *opt);
11