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 /worktree.go | |
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 'worktree.go')
-rw-r--r-- | worktree.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/worktree.go b/worktree.go index 5ef2fe9..40ebe58 100644 --- a/worktree.go +++ b/worktree.go @@ -34,7 +34,7 @@ func (w *Worktree) Checkout(commit plumbing.Hash) error { return ErrWorktreeNotClean } - c, err := w.r.Commit(commit) + c, err := w.r.CommitObject(commit) if err != nil { return err } |