summaryrefslogtreecommitdiff
path: root/Documentation/technical
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2018-10-16 16:16:09 +0900
committerLibravatar Junio C Hamano <gitster@pobox.com>2018-10-16 16:16:09 +0900
commit65f1b1bd9f88e041ba21e9c0230be5ba44962b5d (patch)
tree7295080d6df931bd244c70838fd1cc8df61dfc66 /Documentation/technical
parentMerge branch 'js/mingw-wants-vista-or-above' (diff)
parentdocs: typo: s/isimilar/similar/ (diff)
downloadtgif-65f1b1bd9f88e041ba21e9c0230be5ba44962b5d.tar.xz
Merge branch 'mw/doc-typofixes'
Typofixes. * mw/doc-typofixes: docs: typo: s/isimilar/similar/ docs: graph: remove unnecessary `graph_update()' call docs: typo: s/go/to/
Diffstat (limited to 'Documentation/technical')
-rw-r--r--Documentation/technical/api-history-graph.txt3
1 files changed, 1 insertions, 2 deletions
diff --git a/Documentation/technical/api-history-graph.txt b/Documentation/technical/api-history-graph.txt
index 18142b6d29..d0d1707c8c 100644
--- a/Documentation/technical/api-history-graph.txt
+++ b/Documentation/technical/api-history-graph.txt
@@ -80,7 +80,7 @@ Calling sequence
it is invoked.
* For each commit, call `graph_next_line()` repeatedly, until
- `graph_is_commit_finished()` returns non-zero. Each call go
+ `graph_is_commit_finished()` returns non-zero. Each call to
`graph_next_line()` will output a single line of the graph. The resulting
lines will not contain any newlines. `graph_next_line()` returns 1 if the
resulting line contains the current commit, or 0 if this is merely a line
@@ -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;