diff options
Diffstat (limited to '_examples/clone/main.go')
-rw-r--r-- | _examples/clone/main.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/_examples/clone/main.go b/_examples/clone/main.go index 3b24af2..1952e76 100644 --- a/_examples/clone/main.go +++ b/_examples/clone/main.go @@ -28,7 +28,7 @@ func main() { ref, err := r.Head() CheckIfError(err) // ... retrieving the commit object - commit, err := r.Commit(ref.Hash()) + commit, err := r.CommitObject(ref.Hash()) CheckIfError(err) fmt.Println(commit) |