diff options
author | Santiago M. Mola <santi@mola.io> | 2017-03-21 10:27:56 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-03-21 10:27:56 +0100 |
commit | f51d4a8476f865eef27011a9d90e03566c43d59c (patch) | |
tree | 70e500b28fb9025dffce4cdb106e2ca3c47d9c9e /_examples/open | |
parent | 5f4169fe242e7c80d779984a86a1de5a1eb78218 (diff) | |
parent | 0c82b411f6cdf4ec66689042d77c35efe41106c3 (diff) | |
download | go-git-f51d4a8476f865eef27011a9d90e03566c43d59c.tar.gz |
Merge pull request #296 from ajnavarro/improvement/repository
git: Repository methods changes
Diffstat (limited to '_examples/open')
-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 a5364ed..0000f5e 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 |