diff options
Diffstat (limited to 'Documentation/user-manual.adoc')
| -rw-r--r-- | Documentation/user-manual.adoc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Documentation/user-manual.adoc b/Documentation/user-manual.adoc index 7124345966..8d00a9e822 100644 --- a/Documentation/user-manual.adoc +++ b/Documentation/user-manual.adoc @@ -4301,11 +4301,11 @@ Now, for the meat: ----------------------------------------------------------------------------- case 0: - buf = read_object_with_reference(sha1, argv[1], &size, NULL); + buf = odb_read_object_peeled(r->objects, sha1, argv[1], &size, NULL); ----------------------------------------------------------------------------- This is how you read a blob (actually, not only a blob, but any type of -object). To know how the function `read_object_with_reference()` actually +object). To know how the function `odb_read_object_peeled()` actually works, find the source code for it (something like `git grep read_object_with | grep ":[a-z]"` in the Git repository), and read the source. |
