aboutsummaryrefslogtreecommitdiffstats
path: root/bug
diff options
context:
space:
mode:
authorMichael Muré <batolettre@gmail.com>2020-06-27 22:00:15 +0200
committerMichael Muré <batolettre@gmail.com>2020-06-27 22:00:15 +0200
commit939bcd57b9446b9dce78d7a8c3b15fa13e6320f7 (patch)
treeb6f73782f2f400a89fe0a777502a98fe505a080b /bug
parent1e3dd82fd619f7b43b3193016232ef69f9707f42 (diff)
downloadgit-bug-939bcd57b9446b9dce78d7a8c3b15fa13e6320f7.tar.gz
repo: more tests
Diffstat (limited to 'bug')
-rw-r--r--bug/bug.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/bug/bug.go b/bug/bug.go
index 66609e6c..40537b0d 100644
--- a/bug/bug.go
+++ b/bug/bug.go
@@ -138,7 +138,7 @@ func readBug(repo repository.ClockedRepo, ref string) (*Bug, error) {
// Load each OperationPack
for _, hash := range hashes {
- entries, err := repo.ListEntries(hash)
+ entries, err := repo.ReadTree(hash)
if err != nil {
return nil, errors.Wrap(err, "can't list git tree entries")
}