gitlab-org--gitlab-foss/app/models/diff_viewer
Francisco Javier López 5a3e6fdff9
Fixing image lfs bug and also displaying text lfs
This commit, introduced in https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/23812,
fixes a problem creating a displaying image diff notes when the image
is stored in LFS. The main problem was that `Gitlab::Diff::File` was
returning an invalid valid in `text?` for this kind of files.

It also fixes a rendering problem with other LFS files, like text
ones. They LFS pointer shouldn't be shown when LFS is enabled
for the project, but they were.
2018-12-27 16:51:07 +01:00
..
added.rb
base.rb Fixing image lfs bug and also displaying text lfs 2018-12-27 16:51:07 +01:00
client_side.rb
deleted.rb
image.rb Fixing image lfs bug and also displaying text lfs 2018-12-27 16:51:07 +01:00
mode_changed.rb
no_preview.rb
not_diffable.rb
renamed.rb
rich.rb Fixing image lfs bug and also displaying text lfs 2018-12-27 16:51:07 +01:00
server_side.rb Fixing image lfs bug and also displaying text lfs 2018-12-27 16:51:07 +01:00
simple.rb Fixing image lfs bug and also displaying text lfs 2018-12-27 16:51:07 +01:00
static.rb
text.rb Enable more frozen string in app/models/**/*.rb 2018-08-07 00:37:36 -07:00