aboutsummaryrefslogtreecommitdiffstats
path: root/identity/identity.go
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 /identity/identity.go
parent1e3dd82fd619f7b43b3193016232ef69f9707f42 (diff)
downloadgit-bug-939bcd57b9446b9dce78d7a8c3b15fa13e6320f7.tar.gz
repo: more tests
Diffstat (limited to 'identity/identity.go')
-rw-r--r--identity/identity.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/identity/identity.go b/identity/identity.go
index c1bca4d6..d6504c52 100644
--- a/identity/identity.go
+++ b/identity/identity.go
@@ -118,7 +118,7 @@ func read(repo repository.Repo, ref string) (*Identity, error) {
}
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")
}