Show More
@@ -224,12 +224,15 b' class FilesController(BaseRepoController' | |||
|
224 | 224 | c.file_tree = '' |
|
225 | 225 | if c.file.is_file(): |
|
226 | 226 | c.file_last_commit = c.file.last_commit |
|
227 | if c.file.size < self.cut_off_limit_file: | |
|
227 | 228 | if c.annotate: # annotation has precedence over renderer |
|
228 | 229 | c.annotated_lines = filenode_as_annotated_lines_tokens( |
|
229 |
c.file |
|
|
230 | c.file | |
|
231 | ) | |
|
230 | 232 | else: |
|
231 | 233 | c.renderer = ( |
|
232 |
c.renderer and h.renderer_from_filename(c.file.path) |
|
|
234 | c.renderer and h.renderer_from_filename(c.file.path) | |
|
235 | ) | |
|
233 | 236 | if not c.renderer: |
|
234 | 237 | c.lines = filenode_as_lines_tokens(c.file) |
|
235 | 238 |
General Comments 0
You need to be logged in to leave comments.
Login now