aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMáximo Cuadros <mcuadros@gmail.com>2017-03-29 00:45:14 +0200
committerGitHub <noreply@github.com>2017-03-29 00:45:14 +0200
commite512b0280d2747249acecdd8ba33b2ec80d0f364 (patch)
treec3d4c00f4a307c776bc702a2dde1e22c101c24d5
parent36c78b9d1b1eea682703fb1cbb0f4f3144354389 (diff)
parent7d6cc67e1673259ea9e9395aa3ba80b7db9e5a7e (diff)
downloadgo-git-e512b0280d2747249acecdd8ba33b2ec80d0f364.tar.gz
Merge pull request #316 from BencicAndrej/readme-example-fix
Updated README in-memory example.
-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