aboutsummaryrefslogtreecommitdiffstats
path: root/cache
diff options
context:
space:
mode:
authorMichael Muré <batolettre@gmail.com>2020-11-30 01:55:30 +0100
committerMichael Muré <batolettre@gmail.com>2021-02-14 12:17:49 +0100
commitdb7074301b6af895b1a47ecd12a5028ac809abfc (patch)
tree72c9f1889aefb8c66bf4bbc027d92c6cd572bc9e /cache
parentfcf43915e1736fe0b56f8f06386f68d9b56da7a8 (diff)
downloadgit-bug-db7074301b6af895b1a47ecd12a5028ac809abfc.tar.gz
entity: generalize the combined Ids, use 64 length
Diffstat (limited to 'cache')
-rw-r--r--cache/repo_cache_bug.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/cache/repo_cache_bug.go b/cache/repo_cache_bug.go
index cfcbb72d..90b9a892 100644
--- a/cache/repo_cache_bug.go
+++ b/cache/repo_cache_bug.go
@@ -265,7 +265,7 @@ func (c *RepoCache) resolveBugMatcher(f func(*BugExcerpt) bool) (entity.Id, erro
// bug/comment Id prefix. Returns the Bug containing the Comment and the Comment's
// Id.
func (c *RepoCache) ResolveComment(prefix string) (*BugCache, entity.Id, error) {
- bugPrefix, _ := bug.SplitCommentId(prefix)
+ bugPrefix, _ := entity.SeparateIds(prefix)
bugCandidate := make([]entity.Id, 0, 5)
// build a list of possible matching bugs