max_diff_bytes should be honored even if only one file has changed
|Reported by:||Owned by:|
|Component:||version control/changeset view||Version:||0.10.3.1|
As mentioned in r2968, the
max_diff_bytes rule is ignored if only one file has changed; the differences are then shown inline. This means that if we have lots of changes in one file only (such as often happens here with huge XML files saved by our software), they are shown directly in the main changeset view.
In find this problematic as I often like to review recent changes by using the "previous changeset" and "next changeset" links in the main changeset view. When encountering a change in one of our huge files, I sometimes have to wait several minutes as the browser tries to display the enormous diff. I still want the ability to view minor changes inline, but I want the
max_diff_bytes rule to be followed regardless of the number of files that have changed (even just one). Of course, the big diffs should still be accessible through a link.
I will try to create a patch for this when time allows.