Commit 112ba080 authored by Stan Hu's avatar Stan Hu

Merge branch 'id-fix-diverging-counts' into 'master'

Use select instead of filter to support 2.5

See merge request gitlab-org/gitlab-ce!31480
parents 3dfc89ad 92d273a9
......@@ -69,7 +69,7 @@ class BranchesFinder
return branches unless names
branch_names = names.to_set
branches.filter do |branch|
branches.select do |branch|
branch_names.include?(branch.name)
end
end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment