aboutsummaryrefslogtreecommitdiffstats
path: root/commit.go
diff options
context:
space:
mode:
authorMáximo Cuadros <mcuadros@gmail.com>2016-08-13 01:51:00 +0200
committerMáximo Cuadros <mcuadros@gmail.com>2016-08-13 01:51:00 +0200
commita6ea9e8dd2eda48c8405f609e0fb444d3717af53 (patch)
treea2815bca686619d10151a531cddf5a7fdadedffa /commit.go
parentae999ede139f5fa5601ffb7c55979608b112d274 (diff)
downloadgo-git-a6ea9e8dd2eda48c8405f609e0fb444d3717af53.tar.gz
Repository and Remote API changes
Diffstat (limited to 'commit.go')
-rw-r--r--commit.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/commit.go b/commit.go
index 1154ec7..6f12a56 100644
--- a/commit.go
+++ b/commit.go
@@ -37,7 +37,7 @@ func (c *Commit) Tree() *Tree {
// Parents return a CommitIter to the parent Commits
func (c *Commit) Parents() *CommitIter {
- return NewCommitIter(c.r, core.NewObjectLookupIter(c.r.Storage, c.parents))
+ return NewCommitIter(c.r, core.NewObjectLookupIter(c.r.os, c.parents))
}
// NumParents returns the number of parents in a commit.