Skip to content
This repository was archived by the owner on Sep 11, 2020. It is now read-only.

Commit e512b02

Browse files
authored
Merge pull request #316 from BencicAndrej/readme-example-fix
Updated README in-memory example.
2 parents 36c78b9 + 7d6cc67 commit e512b02

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ ref, err := r.Head()
7777
CheckIfError(err)
7878

7979
// ... retrieves the commit object
80-
commit, err := r.Commit(ref.Hash())
80+
commit, err := r.CommitObject(ref.Hash())
8181
CheckIfError(err)
8282

8383
// ... retrieves the commit history

0 commit comments

Comments
 (0)