Gitlab does not display all changes

5

In one of the GitLab repositories, 93000 rows have been added in a commit.

When I look for this commit locally, using commands such as git log , git show for example, I have a return, through the --stat flag, that actually 93,000 lines have been added.

But when I look at GitLab it does not show me that number.

First he shows me a very low number in relation to this one. So by clicking on the Expand all option the number of additions increases considerably even though it does not reach the expected number.

It still shows me messages like:

This diff is collapsed. Click to expand it.

This diff could not be displayed because it is too large.
  • What is the reason GitLab does not display the number of additions in these cases?
  • Is there a problem in the configuration? If so, how can I resolve it?
  

The GitLab version is 8.11.2

    
asked by anonymous 06.09.2018 / 19:40

1 answer

1

Friend,

In Gitlab configuration files there is one with the name "diff.rb", I believe it is in some directory inside the / opt / gitlab / embedded / service / gitlab-rails /

You will have two Diff "Limit" parameters, something like "DIFF_SIZE_LIMIT" and "DIFF_COLLAPSE_LIMIT" (or something like that), change their value to something like 102400.

I hope I have helped.

    
22.09.2018 / 05:32