aboutsummaryrefslogtreecommitdiffstats
path: root/repository.go
diff options
context:
space:
mode:
Diffstat (limited to 'repository.go')
-rw-r--r--repository.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/repository.go b/repository.go
index d0bc103..31e5fc7 100644
--- a/repository.go
+++ b/repository.go
@@ -100,7 +100,7 @@ func (r *Repository) Commit(h core.Hash) (*Commit, error) {
// Commits decode the objects into commits
func (r *Repository) Commits() *CommitIter {
- return NewCommitIter(r, r.Storage.Iter(core.CommitObject))
+ return NewCommitIter(r, r.Storage.IterType(core.CommitObject))
}
// Tree return the tree with the given hash