Gitlab does not display all changes

Asked

Viewed 68 times

5

In one of the Gitlab repositories it turns out that 93000 lines were added in a commit.

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

But when I look at Gitlab he doesn’t give me that number.

First it displays me a very low number relative to this one. Then by clicking on the option Expand all the number of additions increases considerably although it does not reach the expected number.

Yet he still displays me messages like:

This diff is collapsed. Click to expand it.

This diff could not be displayed because it is too large.
  • Why does Gitlab not show me the number of additions on these affairs?
  • Is there a problem with the setup? If so, how can I fix it?

The Gitlab version is 8.11.2

  • Have a look at this Site https://gitlab.com/gitlab-org/gitlab-ce/issues/30061

1 answer

1


Friend,

Among the Gitlab configuration files there is one with the name "diff.Rb", I believe it is in some directory within "/opt/gitlab/Embedded/service/gitlab-Rails/"

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

I hope I’ve helped.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.