X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=Documentation%2Ftechnical%2Fapi-history-graph.txt;h=e9559790a32185b1d4ac8ae72881f4f63f082538;hb=9c6c304d6a01b72d7ce20722b80ca62e01fe8356;hp=ce1c08ee862b5eeb04a03b0e04caf68b0bdf9520;hpb=488ee2fe21ca69b90aa2b43dc9e30279a12cca63;p=git.git diff --git a/Documentation/technical/api-history-graph.txt b/Documentation/technical/api-history-graph.txt index ce1c08ee8..e9559790a 100644 --- a/Documentation/technical/api-history-graph.txt +++ b/Documentation/technical/api-history-graph.txt @@ -115,7 +115,7 @@ Sample usage ------------ struct commit *commit; -struct git_graph *graph = graph_init(); +struct git_graph *graph = graph_init(opts); while ((commit = get_revision(opts)) != NULL) { graph_update(graph, commit);