aboutsummaryrefslogtreecommitdiffstats
path: root/commit.go
diff options
context:
space:
mode:
Diffstat (limited to 'commit.go')
-rw-r--r--commit.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/commit.go b/commit.go
index f102796..3e82a8a 100644
--- a/commit.go
+++ b/commit.go
@@ -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,
))
}