{"thread":{"id":"21673","subject":"[PATCH] Documentation: undocument gc'd function graph_release()","startedAt":"2009-11-19T20:58:29Z","lastAt":"2009-11-19T20:58:29Z","messageCount":1,"participants":["Greg Price"],"isPatch":true,"patchVersion":1,"patchTotal":null},"messages":[{"id":"127927","messageId":"1ac2d430911191258l39579cb9ve06bc3657ac577f0@mail.gmail.com","threadId":"21673","inReplyTo":null,"subject":"[PATCH] Documentation: undocument gc'd function graph_release()","fromName":"Greg Price","fromEmail":"price@ksplice.com","sentAt":"2009-11-19T20:58:29Z","receivedAt":"2009-11-19T20:58:29Z","isPatch":true,"sender":{"key":"price@mit.edu","avatar":"https://avatars.githubusercontent.com/u/28173?v=4"},"body":"graph_release() was removed in 064bfbd.  Cut it from the API\ndocumentation and a comment.\n\nSigned-off-by: Greg Price <price@ksplice.com>\n---\n Documentation/technical/api-history-graph.txt |    5 -----\n graph.h                                       |    1 -\n 2 files changed, 0 insertions(+), 6 deletions(-)\n\ndiff --git a/Documentation/technical/api-history-graph.txt\nb/Documentation/technical/api-history-graph.txt\nindex d66e61b..d6fc90a 100644\n--- a/Documentation/technical/api-history-graph.txt\n+++ b/Documentation/technical/api-history-graph.txt\n@@ -11,9 +11,6 @@ Core functions:\n\n * `graph_init()` creates a new `struct git_graph`\n\n-* `graph_release()` destroys a `struct git_graph`, and frees the memory\n-  associated with it.\n-\n * `graph_update()` moves the graph to a new commit.\n\n * `graph_next_line()` outputs the next line of the graph into a strbuf.  It\n@@ -134,8 +131,6 @@ while ((commit = get_revision(opts)) != NULL) {\n \t\t\tputchar(opts->diffopt.line_termination);\n \t}\n }\n-\n-graph_release(graph);\n ------------\n\n Sample output\ndiff --git a/graph.h b/graph.h\nindex bc30d68..b82ae87 100644\n--- a/graph.h\n+++ b/graph.h\n@@ -6,7 +6,6 @@ struct git_graph;\n\n /*\n  * Create a new struct git_graph.\n- * The graph should be freed with graph_release() when no longer needed.\n  */\n struct git_graph *graph_init(struct rev_info *opt);\n\n-- \n1.6.5.2.37.ge17fd.dirty\n"}]}