Duplicate Contributors when commits have Different Emails

Summary

When a user made commits using several different emails in the Contributors screen entries are not consolidated, even though all of the emails are associated to the user's profile.

Steps to reproduce

  1. Make several commits with different emails
  2. Add all of the emails to your profile
  3. Go to the contributors screen /:group/:project/-/graphs/:branch

What is the current bug behavior?

You will observe multiple contributor entries (graphs) for the same user

What is the expected correct behavior?

I should see one graph with the commits merged for all of the emails belonging to the same user.

Output of checks

This bug happens on GitLab.com