aboutsummaryrefslogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'README.md')
-rw-r--r--README.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/README.md b/README.md
index cd6450f..66f7fae 100644
--- a/README.md
+++ b/README.md
@@ -77,7 +77,7 @@ ref, err := r.Head()
CheckIfError(err)
// ... retrieves the commit object
-commit, err := r.Commit(ref.Hash())
+commit, err := r.CommitObject(ref.Hash())
CheckIfError(err)
// ... retrieves the commit history