diff --git a/Documentation/technical/api-history-graph.txt b/Documentation/technical/api-history-graph.txt
index e9559790a32185b1d4ac8ae72881f4f63f082538..d6fc90ac7eb210bd492057422748817a59cfc2a3 100644 (file)
* `graph_init()` creates a new `struct git_graph`
* `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
* `graph_update()` moves the graph to a new commit.
* `graph_next_line()` outputs the next line of the graph into a strbuf. It
putchar(opts->diffopt.line_termination);
}
}
putchar(opts->diffopt.line_termination);
}
}
-
-graph_release(graph);
------------
Sample output
------------
Sample output
------------
*
*
------------
*
*
-M
+*
|\
* |
| | *
| \ \
| \ \
|\
* |
| | *
| \ \
| \ \
-M-. \ \
+*-. \ \
|\ \ \ \
| | * | |
| | | | | *
| | | | | *
|\ \ \ \
| | * | |
| | | | | *
| | | | | *
-| | | | | M
+| | | | | *
| | | | | |\
| | | | | | *
| * | | | | |
| | | | | |\
| | | | | | *
| * | | | | |
-| | | | | M \
+| | | | | * \
| | | | | |\ |
| | | | * | | |
| | | | * | | |
| | | | | |\ |
| | | | * | | |
| | | | * | | |