summaryrefslogtreecommitdiff
path: root/Documentation
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2018-11-21 13:58:03 (GMT)
committerJunio C Hamano <gitster@pobox.com>2018-11-21 13:58:03 (GMT)
commit368ba6b7ac9eab63777e44c4efec72f5c85ee38e (patch)
treef08613ac0fae832fa249345249b400e3fe25f12b /Documentation
parent587b3f5d725cf118b6a58b9c974c01c26a61ec38 (diff)
parentad0b8f9575a4fd5b21c4903871ea8bae09878ec5 (diff)
downloadgit-368ba6b7ac9eab63777e44c4efec72f5c85ee38e.zip
git-368ba6b7ac9eab63777e44c4efec72f5c85ee38e.tar.gz
git-368ba6b7ac9eab63777e44c4efec72f5c85ee38e.tar.bz2
Merge branch 'mw/doc-typofixes' into maint
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')
-rw-r--r--Documentation/git-rebase.txt2
-rw-r--r--Documentation/technical/api-history-graph.txt3
2 files changed, 2 insertions, 3 deletions
diff --git a/Documentation/git-rebase.txt b/Documentation/git-rebase.txt
index 1fbc6eb..432baab 100644
--- a/Documentation/git-rebase.txt
+++ b/Documentation/git-rebase.txt
@@ -954,7 +954,7 @@ command fails, it is rescheduled immediately, with a helpful message how
to proceed.
The `reset` command resets the HEAD, index and worktree to the specified
-revision. It is isimilar to an `exec git reset --hard <label>`, but
+revision. It is similar to an `exec git reset --hard <label>`, but
refuses to overwrite untracked files. If the `reset` command fails, it is
rescheduled immediately, with a helpful message how to edit the todo list
(this typically happens when a `reset` command was inserted into the todo
diff --git a/Documentation/technical/api-history-graph.txt b/Documentation/technical/api-history-graph.txt
index 18142b6..d0d1707 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;