diff options
author | Yorick Peterse <yorickpeterse@gmail.com> | 2016-06-29 12:28:40 +0300 |
---|---|---|
committer | Yorick Peterse <yorickpeterse@gmail.com> | 2016-06-29 12:28:40 +0300 |
commit | 1023289605f075cef86833ab5c1b0e87d967f69e (patch) | |
tree | f2fcbb7797a9c51aa8f4f2a1f699ef7e0fbe2ef3 | |
parent | 9e8fdead1789b425152256ec977241e7f19123ce (diff) | |
parent | 4c89cd4b73f2c35644ec18cd285df1b04586a90d (diff) |
Merge branch '19318-pipelines-find-git-calls' into 'master'
PipelinesFinder use git cached data
See merge request !4984
-rw-r--r-- | CHANGELOG | 1 | ||||
-rw-r--r-- | app/finders/pipelines_finder.rb | 4 |
2 files changed, 3 insertions, 2 deletions
diff --git a/CHANGELOG b/CHANGELOG index 27dd8708559..80f404423c7 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -14,6 +14,7 @@ v 8.10.0 (unreleased) - Exclude email check from the standard health check - Fix changing issue state columns in milestone view - Fix user creation with stronger minimum password requirements !4054 (nathan-pmt) + - PipelinesFinder uses git cache data - Check for conflicts with existing Project's wiki path when creating a new project. - Remove unused front-end variable -> default_issues_tracker - Add API endpoint for a group issues !4520 (mahcsig) diff --git a/app/finders/pipelines_finder.rb b/app/finders/pipelines_finder.rb index c19a795d467..641fbf838f1 100644 --- a/app/finders/pipelines_finder.rb +++ b/app/finders/pipelines_finder.rb @@ -29,10 +29,10 @@ class PipelinesFinder end def branches - project.repository.branches.map(&:name) + project.repository.branch_names end def tags - project.repository.tags.map(&:name) + project.repository.tag_names end end |