gitlab-org--gitlab-foss/lib/gitlab/diff
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
..
file_collection Avoid 500's when serializing legacy diff notes 2018-12-04 13:13:22 -02:00
formatters Enable even more frozen string in lib/gitlab 2018-11-06 22:47:32 -08:00
diff_refs.rb Treat Repository instances with the same disk path as the same hash key 2018-11-26 11:15:18 +01:00
file.rb Fixing image lfs bug and also displaying text lfs 2018-12-27 16:51:07 +01:00
highlight.rb Enable even more frozen string in lib/gitlab 2018-11-06 22:47:32 -08:00
highlight_cache.rb Cache diff highlighting upon Merge Request creation (refactors diff caching) 2018-09-07 10:07:18 -03:00
image_point.rb Enable even more frozen string in lib/gitlab 2018-11-06 22:47:32 -08:00
inline_diff.rb Enable even more frozen string in lib/gitlab 2018-11-06 22:47:32 -08:00
inline_diff_markdown_marker.rb Enable even more frozen string in lib/gitlab 2018-11-06 22:47:32 -08:00
inline_diff_marker.rb Enable even more frozen string in lib/gitlab 2018-11-06 22:47:32 -08:00
line.rb Allow suggesting single line changes in diffs 2018-12-13 19:17:19 +00:00
line_mapper.rb Enable even more frozen string in lib/gitlab 2018-11-06 22:47:32 -08:00
lines_unfolder.rb Comment on any expanded diff line on MRs 2018-11-09 16:56:48 -02:00
parallel_diff.rb Enable even more frozen string in lib/gitlab 2018-11-06 22:47:32 -08:00
parser.rb Enable even more frozen string in lib/gitlab 2018-11-06 22:47:32 -08:00
position.rb Merge branch 'osw-comment-on-any-line-on-diffs-w-feature-flag' into 'master' 2018-11-12 15:36:48 +00:00
position_tracer.rb Enable even more frozen string in lib/gitlab 2018-11-06 22:47:32 -08:00