diff options
author | Máximo Cuadros <mcuadros@gmail.com> | 2016-08-31 00:23:15 +0200 |
---|---|---|
committer | Máximo Cuadros <mcuadros@gmail.com> | 2016-08-31 00:23:15 +0200 |
commit | 7aa8f0750c93b58876a06e79c50398901e5bdeb8 (patch) | |
tree | 3bfde1edae34f7774971d1f4f57547b741a04a00 /commit.go | |
parent | d72a19796ef0f556db93b553547f2ac085b59a1a (diff) | |
download | go-git-7aa8f0750c93b58876a06e79c50398901e5bdeb8.tar.gz |
NewObjectLookupIter asking right type
Diffstat (limited to 'commit.go')
-rw-r--r-- | commit.go | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -38,6 +38,7 @@ func (c *Commit) Tree() (*Tree, error) { func (c *Commit) Parents() *CommitIter { return NewCommitIter(c.r, core.NewObjectLookupIter( c.r.s.ObjectStorage(), + core.CommitObject, c.parents, )) } |