aboutsummaryrefslogtreecommitdiffstats
path: root/_examples/log/main.go
diff options
context:
space:
mode:
Diffstat (limited to '_examples/log/main.go')
-rw-r--r--_examples/log/main.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/_examples/log/main.go b/_examples/log/main.go
index c77e5a5..e13df2c 100644
--- a/_examples/log/main.go
+++ b/_examples/log/main.go
@@ -30,7 +30,7 @@ func main() {
CheckIfError(err)
// ... retrieves the commit object
- commit, err := r.Commit(ref.Hash())
+ commit, err := r.CommitObject(ref.Hash())
CheckIfError(err)
// ... retrieves the commit history