Skip to content

Commit

Permalink
Merge branch 'maint'
Browse files Browse the repository at this point in the history
* maint:
  Documentation: undocument gc'd function graph_release()
  • Loading branch information
Junio C Hamano committed Nov 23, 2009
2 parents c1c30ab + aa8dc96 commit f341feb
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 6 deletions.
5 changes: 0 additions & 5 deletions Documentation/technical/api-history-graph.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -134,8 +131,6 @@ while ((commit = get_revision(opts)) != NULL) {
putchar(opts->diffopt.line_termination);
}
}

graph_release(graph);
------------

Sample output
Expand Down
1 change: 0 additions & 1 deletion graph.h
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down

0 comments on commit f341feb

Please sign in to comment.