diff options
Diffstat (limited to 'commit.go')
-rw-r--r-- | commit.go | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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. |