These are defined in:
app/models/commit.rb:  DIFF_SAFE_FILES  = 100
app/models/commit.rb:  DIFF_SAFE_LINES  = 5000
app/models/commit.rb:  DIFF_HARD_LIMIT_FILES = 500
app/models/commit.rb:  DIFF_HARD_LIMIT_LINES = 10000

On Thu, May 22, 2014 at 8:16 PM, Alex Dobson <[email protected]> wrote:
> Where are these constants are defined please? I would like to increase the
> diff limit so allow us to send diff links to an offshore team, we're not too
> concerned about how long it will take to run the diff.
>
> Normally, I send them a series of diff links but this takes some time for a
> lot of commits.
>
> Thanks - A
>
>
>
>
> On Wednesday, March 5, 2014 4:08:51 PM UTC, Sytse Sijbrandij wrote:
>>
>> There are CONSTANTS in the code that set these limits. You would have
>> to fork the code to change them.
>>
>> On Wed, Mar 5, 2014 at 12:34 PM, Marek Prochera
>> <[email protected]> wrote:
>> > Hi guys,
>> >
>> > Is there any way to change max diff especially  for diff in merge
>> > requests ?
>> >
>> >
>> > "Warning! This is a large diff.To preserve performance the diff is not
>> > shown. Please, download the diff as plain diff or email patch instead."
>> >
>> >
>> > Thanks
>> > Marek
>> >
>> >
>> > --
>> > You received this message because you are subscribed to the Google
>> > Groups
>> > "GitLab" group.
>> > To unsubscribe from this group and stop receiving emails from it, send
>> > an
>> > email to [email protected].
>> > For more options, visit https://groups.google.com/groups/opt_out.
>
> --
> You received this message because you are subscribed to the Google Groups
> "GitLab" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/gitlabhq/54893ab9-5c87-45ea-8834-2299bee30158%40googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.

-- 
You received this message because you are subscribed to the Google Groups 
"GitLab" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/gitlabhq/CAEG31mOMXeSwJWpXh-o8h2-aqSUfkq_ZX6uUVGUw3UEvnxAzYQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to