diff options
Diffstat (limited to '_examples/open/main.go')
-rw-r--r-- | _examples/open/main.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/_examples/open/main.go b/_examples/open/main.go index 9174588..d4b54dc 100644 --- a/_examples/open/main.go +++ b/_examples/open/main.go @@ -25,7 +25,7 @@ func main() { CheckIfError(err) // ... retrieving the commit object - commit, err := r.Commit(ref.Hash()) + commit, err := r.CommitObject(ref.Hash()) CheckIfError(err) // ... calculating the commit history |