diff options
author | Michael Muré <batolettre@gmail.com> | 2022-07-31 14:38:32 +0200 |
---|---|---|
committer | Michael Muré <batolettre@gmail.com> | 2022-07-31 14:38:32 +0200 |
commit | d179b8b7ec7815ccac73e00f35f5cfbdc4ddbe2e (patch) | |
tree | d3faa7217cb287c7b20f2769f5c5808373aca63b /cache/repo_cache_common.go | |
parent | 3d454d9dc8ba2409046c0938618a70864e6eb8ef (diff) | |
download | git-bug-d179b8b7ec7815ccac73e00f35f5cfbdc4ddbe2e.tar.gz |
bug: fix an issue where Id would be used, then changed due to metadata
Diffstat (limited to 'cache/repo_cache_common.go')
-rw-r--r-- | cache/repo_cache_common.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cache/repo_cache_common.go b/cache/repo_cache_common.go index e23315f9..66797e80 100644 --- a/cache/repo_cache_common.go +++ b/cache/repo_cache_common.go @@ -36,7 +36,7 @@ func (c *RepoCache) Keyring() repository.Keyring { return c.repo.Keyring() } -// GetUserName returns the name the the user has used to configure git +// GetUserName returns the name the user has used to configure git func (c *RepoCache) GetUserName() (string, error) { return c.repo.GetUserName() } @@ -131,7 +131,7 @@ func (c *RepoCache) MergeAll(remote string) <-chan entity.MergeResult { b := result.Entity.(*bug.Bug) snap := b.Compile() c.muBug.Lock() - c.bugExcerpts[result.Id] = NewBugExcerpt(b, &snap) + c.bugExcerpts[result.Id] = NewBugExcerpt(b, snap) c.muBug.Unlock() } } |