aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/MyFirstObjectWalk.adoc
diff options
context:
space:
mode:
Diffstat (limited to 'Documentation/MyFirstObjectWalk.adoc')
-rw-r--r--Documentation/MyFirstObjectWalk.adoc4
1 files changed, 2 insertions, 2 deletions
diff --git a/Documentation/MyFirstObjectWalk.adoc b/Documentation/MyFirstObjectWalk.adoc
index b7b2adc5de..413a9fdb05 100644
--- a/Documentation/MyFirstObjectWalk.adoc
+++ b/Documentation/MyFirstObjectWalk.adoc
@@ -83,13 +83,13 @@ int cmd_walken(int argc, const char **argv, const char *prefix)
}
----
-Also add the relevant line in `builtin.h` near `cmd_whatchanged()`:
+Also add the relevant line in `builtin.h` near `cmd_version()`:
----
int cmd_walken(int argc, const char **argv, const char *prefix, struct repository *repo);
----
-Include the command in `git.c` in `commands[]` near the entry for `whatchanged`,
+Include the command in `git.c` in `commands[]` near the entry for `version`,
maintaining alphabetical ordering:
----