summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2009-11-22 19:04:30 -0800
committerLibravatar Junio C Hamano <gitster@pobox.com>2009-11-22 19:04:30 -0800
commitf341feb86a97ea184db2e01083e29582afaea63e (patch)
treeb67b28f6fd1552d25d4387675c2e2b8be9ac8df5
parentMerge git://git.bogomips.org/git-svn (diff)
parentDocumentation: undocument gc'd function graph_release() (diff)
downloadtgif-f341feb86a97ea184db2e01083e29582afaea63e.tar.xz
Merge branch 'maint'
* maint: Documentation: undocument gc'd function graph_release()
-rw-r--r--Documentation/technical/api-history-graph.txt5
-rw-r--r--graph.h1
2 files changed, 0 insertions, 6 deletions
diff --git a/Documentation/technical/api-history-graph.txt b/Documentation/technical/api-history-graph.txt
index d66e61b1ec..d6fc90ac7e 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
diff --git a/graph.h b/graph.h
index bc30d687c0..b82ae87a49 100644
--- a/graph.h
+++ b/graph.h
@@ -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);