diff options
author | Douwe Maan <douwe@selenight.nl> | 2017-04-13 12:19:50 -0500 |
---|---|---|
committer | Douwe Maan <douwe@selenight.nl> | 2017-04-17 13:57:45 -0500 |
commit | f4da1a805ff3f4dc5f1889b2cce19d26885120f7 (patch) | |
tree | 7cf8f5a6c9f6a0b2af733fef2c4d51ae07420980 | |
parent | 41acc87fbd457d2894fb519eb48f215d017ddec2 (diff) | |
download | gitlab-ce-f4da1a805ff3f4dc5f1889b2cce19d26885120f7.tar.gz |
Rephrase error message for a diff with a blob that’s too largedm-diff-too-large-error
-rw-r--r-- | app/views/projects/diffs/_content.html.haml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/projects/diffs/_content.html.haml b/app/views/projects/diffs/_content.html.haml index 5c38b5ad9c0..438a98c3e95 100644 --- a/app/views/projects/diffs/_content.html.haml +++ b/app/views/projects/diffs/_content.html.haml @@ -4,7 +4,7 @@ - if diff_file.too_large? .nothing-here-block This diff could not be displayed because it is too large. - elsif blob.only_display_raw? - .nothing-here-block This file is too large to display. + .nothing-here-block The file could not be displayed because it is too large. - elsif blob_text_viewable?(blob) - if !project.repository.diffable?(blob) .nothing-here-block This diff was suppressed by a .gitattributes entry. |