documentation: add tutorial for first contribution
[gitweb.git] / Documentation / technical / api-history-graph.txt
index 729d6a0cf31e872eef537fbfb87a0ed68b84bc0e..d0d1707c8c88560196eeb0d8bfe3be3362b682ea 100644 (file)
@@ -115,7 +115,6 @@ struct commit *commit;
 struct git_graph *graph = graph_init(opts);
 
 while ((commit = get_revision(opts)) != NULL) {
-       graph_update(graph, commit);
        while (!graph_is_commit_finished(graph))
        {
                struct strbuf sb;