Gitlab is not showing file difference anymore just offers you to download the file instead

Am I missing something here? This just started to happen recently, I can’t review merge requests properly because of this so I won’t know if there’s a big chunk of useless code being sent for MR when I can’t see the changes made.

Do I need to setup something to be able to see the file changes? Or is this a premium feature now?

If I am in the wrong category do inform me and I’ll move this question to the correct category.

Thank you

1 Like

Hi,

which version of GitLab are you using, gitlab.com or self-hosted? For both, please navigate to https://<gitlabserver>/help and extract the version.

How big is the php file you are comparing in the diff? It may have exceeded a certain limit.

Cheers,
Michael

Hello,

We’re using the free online version.

Where can I find the limit for the file size? Is there a way for us to be able to exceed the limit or increase the limit as well?

Thank you

Hi,

That was a guess, I don’t know whether certain limits exist. Hence my question on the size to get an indicator where to maybe google further.

Cheers,
Michael

Hello,

oh alright, the file size is 500kb but the number of lines in it reaches 10k.

Thank you

Hi,

good indicator … if you would have said 2KB, it would have been strange.

There’s some quick URLs I’ve found:

Cheers,
Michael

1 Like

Hello,

Got a look at those links but there isn’t any solution for it now. I think we’ll just have to make sure the file size doesn’t exceeds GitLab limit.

Thank you

1 Like