aboutsummaryrefslogtreecommitdiffstats
path: root/cache/identity_excerpt.go
diff options
context:
space:
mode:
authorMichael Muré <batolettre@gmail.com>2019-02-24 13:23:01 +0100
committerMichael Muré <batolettre@gmail.com>2019-03-01 22:48:50 +0100
commit8bba6d1493fdf064ac9fede0a5098b1abe969052 (patch)
treee9730e7da829100759ce9cbb6dc12747405fe2ee /cache/identity_excerpt.go
parent268f6175fe7394f057a1b6b38c239c36e2c8619a (diff)
downloadgit-bug-8bba6d1493fdf064ac9fede0a5098b1abe969052.tar.gz
cache: fix ResolveIdentityImmutableMetadata byt storing metadata in IdentityExcerpt
Diffstat (limited to 'cache/identity_excerpt.go')
-rw-r--r--cache/identity_excerpt.go12
1 files changed, 7 insertions, 5 deletions
diff --git a/cache/identity_excerpt.go b/cache/identity_excerpt.go
index 7bc660b6..0539a76b 100644
--- a/cache/identity_excerpt.go
+++ b/cache/identity_excerpt.go
@@ -12,15 +12,17 @@ import (
type IdentityExcerpt struct {
Id string
- Name string
- Login string
+ Name string
+ Login string
+ ImmutableMetadata map[string]string
}
func NewIdentityExcerpt(i *identity.Identity) *IdentityExcerpt {
return &IdentityExcerpt{
- Id: i.Id(),
- Name: i.Name(),
- Login: i.Login(),
+ Id: i.Id(),
+ Name: i.Name(),
+ Login: i.Login(),
+ ImmutableMetadata: i.ImmutableMetadata(),
}
}