diff --git a/Documentation/technical/api-history-graph.txt b/Documentation/technical/api-history-graph.txt
index ce1c08ee862b5eeb04a03b0e04caf68b0bdf9520..d66e61b1eca3d87ffcf14ee0e0447b6ccb75a2bb 100644 (file)
------------
struct commit *commit;
------------
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);
while ((commit = get_revision(opts)) != NULL) {
graph_update(graph, commit);
------------
*
*
------------
*
*
-M
+*
|\
* |
| | *
| \ \
| \ \
|\
* |
| | *
| \ \
| \ \
-M-. \ \
+*-. \ \
|\ \ \ \
| | * | |
| | | | | *
| | | | | *
|\ \ \ \
| | * | |
| | | | | *
| | | | | *
-| | | | | M
+| | | | | *
| | | | | |\
| | | | | | *
| * | | | | |
| | | | | |\
| | | | | | *
| * | | | | |
-| | | | | M \
+| | | | | * \
| | | | | |\ |
| | | | * | | |
| | | | * | | |
| | | | | |\ |
| | | | * | | |
| | | | * | | |