diff options
author | Greg Price <price@ksplice.com> | 2009-11-19 15:58:29 -0500 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2009-11-19 23:05:17 -0800 |
commit | aa8dc9679a6a7daea261abe969af331c741a9f2c (patch) | |
tree | c16b3c95a95e3a6699c78176bfa7ab304533803b | |
parent | 080cbc1275ac09445136ba429d90b5ec85e92c1c (diff) | |
download | git-aa8dc9679a6a7daea261abe969af331c741a9f2c.tar.gz git-aa8dc9679a6a7daea261abe969af331c741a9f2c.tar.xz |
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>
-rw-r--r-- | Documentation/technical/api-history-graph.txt | 5 | ||||
-rw-r--r-- | graph.h | 1 |
2 files changed, 0 insertions, 6 deletions
diff --git a/Documentation/technical/api-history-graph.txt b/Documentation/technical/api-history-graph.txt index d66e61b1e..d6fc90ac7 100644 --- a/Documentation/technical/api-history-graph.txt +++ b/Documentation/technical/api-history-graph.txt @@ -11,9 +11,6 @@ Core functions: * `graph_init()` creates a new `struct git_graph` -* `graph_release()` destroys a `struct git_graph`, and frees the memory - associated with it. - * `graph_update()` moves the graph to a new commit. * `graph_next_line()` outputs the next line of the graph into a strbuf. It @@ -134,8 +131,6 @@ while ((commit = get_revision(opts)) != NULL) { putchar(opts->diffopt.line_termination); } } - -graph_release(graph); ------------ Sample output @@ -6,7 +6,6 @@ struct git_graph; /* * Create a new struct git_graph. - * The graph should be freed with graph_release() when no longer needed. */ struct git_graph *graph_init(struct rev_info *opt); |