aboutsummaryrefslogtreecommitdiffstats
path: root/cache/repo_cache.go
diff options
context:
space:
mode:
authorMichael Muré <batolettre@gmail.com>2019-01-20 15:41:27 +0100
committerMichael Muré <batolettre@gmail.com>2019-03-01 22:40:22 +0100
commit14b240af8fef269d2c1d5dde2fff192b656c50f3 (patch)
tree4f6ea032789d811cd019bbb6c190c99a650084b2 /cache/repo_cache.go
parentd10c76469d40f13e27739fd363145e89bf74c3e0 (diff)
downloadgit-bug-14b240af8fef269d2c1d5dde2fff192b656c50f3.tar.gz
identity: more cleaning and fixes after a code review
Diffstat (limited to 'cache/repo_cache.go')
-rw-r--r--cache/repo_cache.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/cache/repo_cache.go b/cache/repo_cache.go
index e1a3d8f8..3d8b352b 100644
--- a/cache/repo_cache.go
+++ b/cache/repo_cache.go
@@ -394,7 +394,7 @@ func (c *RepoCache) NewBug(title string, message string) (*BugCache, error) {
// NewBugWithFiles create a new bug with attached files for the message
// The new bug is written in the repository (commit)
func (c *RepoCache) NewBugWithFiles(title string, message string, files []git.Hash) (*BugCache, error) {
- author, err := identity.GetIdentity(c.repo)
+ author, err := identity.GetUserIdentity(c.repo)
if err != nil {
return nil, err
}