Weird commit view problem (gitlab show changes when add / remove files)
Created by: Trontastic
Hey
I use the latest master version.
I uploaded a text file with ~3,5MB and ~90,000 lines, but when i want to view the commit, my browser being freezed. I think the gitlab want to show the changes.
So my question:
- Can you add that if i upload a big file, dont show the context of it as diffs? Because now when i upload a new file, the gitlab is show like i changed 0 lines to x lines, and show all lines as diffs.
LOG: Started GET "/test/commit/b1da6daca05a142c13b4c96789cdd7043123101a" for xxx.xxx.xx.x at 2012-10-20 20:55:02 +0200 Processing by CommitController#show as HTML Parameters: {"project_id"=>"test", "id"=>"b1da6daca05a142c13b4c96789cdd7043123101a"} Rendered commits/_commit_box.html.haml (16.9ms) Rendered commits/_diff_head.html.haml (12.0ms) Rendered notes/_per_line_note_link.html.haml (0.2ms) Rendered notes/_per_line_note_link.html.haml (0.2ms) Rendered notes/_per_line_note_link.html.haml (0.2ms) Rendered notes/_per_line_note_link.html.haml (0.2ms) Rendered notes/_per_line_note_link.html.haml (0.2ms) ... and much more (90,000) ... Rendered notes/_per_line_note_link.html.haml (0.1ms) Rendered notes/_per_line_note_link.html.haml (0.4ms) Rendered notes/_per_line_note_link.html.haml (0.1ms) Rendered notes/_per_line_note_link.html.haml (0.1ms) Rendered commits/_text_file.html.haml (120494.3ms) Rendered commits/_diffs.html.haml (136197.6ms) Rendered notes/_common_form.html.haml (18.5ms) Rendered notes/_notes_with_form.html.haml (22.8ms) Rendered notes/_per_line_form.html.haml (2.7ms) Rendered commit/show.html.haml within layouts/project_resource (137493.0ms) Rendered layouts/_head.html.haml (1.5ms) Rendered layouts/_flash.html.haml (0.2ms) Rendered layouts/_init_auto_complete.html.haml (7.1ms) Rendered layouts/_head_panel.html.haml (17.9ms) Completed 200 OK in 138697ms (Views: 137686.6ms | ActiveRecord: 8.0ms)