MR File size calculation in "changes" tab incorrect

Summary

When in a Merge request on the "changes" tab, file sizes are calculated incorrectly. All files are 100644 :/

Steps to reproduce

Create an MR with a few files changed. Then view the MR, "changes" tab. Look at file size.

Example Project

This one. It affects all projects system-wide.

What is the current bug behavior?

displays incorrect data.

What is the expected correct behavior?

Show the correct file size.

Output of checks

This bug happens on GitLab.com