Improve performance of searching tags by name by using a memorized tag array
This commit is contained in:
parent
8ef649588b
commit
8fdd419a44
|
@ -9,6 +9,7 @@ v 8.10.0 (unreleased)
|
|||
|
||||
v 8.9.1
|
||||
- Fix GitLab project import issues related to notes and builds
|
||||
- Improve performance of searching repository tags by name by using a memorized tag array
|
||||
- Fix 404 when accessing pipelines as guest user on public projects
|
||||
|
||||
v 8.9.0
|
||||
|
|
|
@ -130,7 +130,7 @@ class Repository
|
|||
end
|
||||
|
||||
def find_tag(name)
|
||||
raw_repository.tags.find { |tag| tag.name == name }
|
||||
tags.find { |tag| tag.name == name }
|
||||
end
|
||||
|
||||
def add_branch(user, branch_name, target)
|
||||
|
|
Loading…
Reference in New Issue