##// END OF EJS Templates
diffs: use whole chunk diff to calculate if it's oversized or not....
diffs: use whole chunk diff to calculate if it's oversized or not. - This fixes an issue if a file is added that has very large number of small lines. In this case the time to detect if the diff should be limited was very very long and CPU intensive.

File last commit:

r518:9f9ffd3a default
r2070:7939c6bf default
Show More
sequence_item.pt
11 lines | 450 B | text/plain | TextLexer
<div tal:omit-tag="field.widget.hidden"
tal:define="
hidden hidden|field.widget.hidden;
description description|field.description;"
title="${description}"
class="form-group row deform-seq-item ${field.error and error_class or ''} ${field.widget.item_css_class or ''}"
i18n:domain="deform">
<div class="deform-seq-item-group">
<span tal:replace="structure field.serialize(cstruct, readonly=True)"/>
</div>
</div>