diff options
author | Michael Muré <batolettre@gmail.com> | 2019-02-24 13:23:01 +0100 |
---|---|---|
committer | Michael Muré <batolettre@gmail.com> | 2019-03-01 22:48:50 +0100 |
commit | 8bba6d1493fdf064ac9fede0a5098b1abe969052 (patch) | |
tree | e9730e7da829100759ce9cbb6dc12747405fe2ee /cache/repo_cache.go | |
parent | 268f6175fe7394f057a1b6b38c239c36e2c8619a (diff) | |
download | git-bug-8bba6d1493fdf064ac9fede0a5098b1abe969052.tar.gz |
cache: fix ResolveIdentityImmutableMetadata byt storing metadata in IdentityExcerpt
Diffstat (limited to 'cache/repo_cache.go')
-rw-r--r-- | cache/repo_cache.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cache/repo_cache.go b/cache/repo_cache.go index e87119fe..78633a69 100644 --- a/cache/repo_cache.go +++ b/cache/repo_cache.go @@ -735,8 +735,8 @@ func (c *RepoCache) ResolveIdentityImmutableMetadata(key string, value string) ( // preallocate but empty matching := make([]string, 0, 5) - for id, i := range c.identities { - if i.ImmutableMetadata()[key] == value { + for id, i := range c.identitiesExcerpts { + if i.ImmutableMetadata[key] == value { matching = append(matching, id) } } |