summaryrefslogtreecommitdiff
path: root/app/models/commit_collection.rb
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2023-01-04 12:07:39 +0000
committerGitLab Bot <gitlab-bot@gitlab.com>2023-01-04 12:07:39 +0000
commit557b3c487b3d6b92c61059534db36fd48364c9c6 (patch)
tree8bf731d53fbb54fc25747898ee141116b7002c5c /app/models/commit_collection.rb
parentf09198ce4671131f75b137818d2c34e725cf1563 (diff)
downloadgitlab-ce-557b3c487b3d6b92c61059534db36fd48364c9c6.tar.gz
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/models/commit_collection.rb')
-rw-r--r--app/models/commit_collection.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/commit_collection.rb b/app/models/commit_collection.rb
index 7d89ddde0cb..47ecdfa8574 100644
--- a/app/models/commit_collection.rb
+++ b/app/models/commit_collection.rb
@@ -25,7 +25,7 @@ class CommitCollection
end
def committers
- emails = without_merge_commits.map(&:committer_email).uniq
+ emails = without_merge_commits.filter_map(&:committer_email).uniq
User.by_any_email(emails)
end